autospec/conf/02-specfile-formatting-rules.conf

20 lines
1006 B
Plaintext
Raw Permalink Normal View History

## Force a name structure for some specific packages --------------------------
# Force a name structure for library packages
# Default value: "" (no structure)
# An alternative setting can be "^lib" if your libraries must start with lib
library_name_structure=""
# Structure for the names of the patches (Patch[0-9]* ids)
# Default value: "^%\{name\}-[0-9][\.0-9a-z]*-[a-zA-Z0-9_-]+*.patch[\.gzb2]*",
# that is '%{name}-pck_version_when_first_applied-short_description.patch'
# If you don't want to fix a structure use ""
patch_name_structure="^%\{name\}-[0-9][\.0-9a-z]*-[a-zA-Z0-9_-]+*.patch[\.gzb2]*"
# Structure for the 'Source'/'Source0' id
# Default value: "\(https\|http\|ftp\):\/\/.*\.\(tar\.gz\|tgz\|tar\.bz2\|tar\.Z\|shar\.gz\|zip\)"
# that is a full internet address of a tarball package compressed with
# either gzip or bzip2
# If you don't want to fix a structure use ""
source0_name_structure="\(https\|http\|ftp\|git\):\/\/.*\.\(tar\.gz\|tgz\|tar\.bz2\|tar\.Z\|tar\.xz\|shar\.gz\|zip\)"