#------------------------------------------------------------------------------

# SPUMA (OpenFOAM-based) is a programming toolbox that uses dynamic code
# compilation for user-coded boundary conditions and function objects.
# Source files may therefore also be in the main package or even in tutorials.
addFilter("spuma.* devel-file-in-non-devel-package")

# SPUMA has zero-length files to prevent automatic cleanup
addFilter("zero-length")

# SPUMA has .gitignore files to prevent automatic cleanup
addFilter("version-control-internal-file")

# Tutorials use .orig for restart files - these are not editor files
addFilter("spuma.* backup-file-in-package")

# Many tutorials have similar setups (content), but content is
# adjusted/overwritten when running.
# Also have makefile options etc.
addFilter("spuma.* files-duplicate")
addFilter("spuma.* suse-filelist-forbidden")

# The filelist-forbidden for .orig files (without 'suse-' prefix)
addFilter("spuma.*tutorials.* filelist-forbidden")

# Tutorials share many identical files across cases - expected duplication
addFilter("spuma.* files-duplicated-waste")

# Template files (.in) are not executable by design - they are processed
# by configuration scripts to produce final scripts
addFilter("spuma.* non-executable-script")

# Meta-packages (spuma, spuma-devel, spuma-default) intentionally contain
# no files - they only pull in dependencies via Requires
addFilter("spuma.* no-binary")

# These are not normally acceptable, but required
# ---------------

# The RPM resolution of libptscotch0-{MPI_TYPE} is flakey at best
# - usually resolves to the incorrect one
addFilter("explicit-lib-dependency")

# The 'default' meta-package includes develop, tutorials etc.
addFilter("devel-dependency")

# The spec is tagged as 'spuma' but the real payload is spuma2412.
# This is intentional.
# - The spec name provides the entry point for the repo.
# - The package name is the API-specific payload
addFilter("invalid-spec-name")

#------------------------------------------------------------------------------
