config: 'source0' files can start by 'git://'

Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
This commit is contained in:
Davide Madrisan 2013-03-01 22:40:12 +01:00
parent 01e754b9c4
commit 5dd0d6bdc1
2 changed files with 4 additions and 1 deletions

View File

@ -28,6 +28,9 @@ Changes in version 1.16.3 - Christmas Release
* templates/web - Silvan Calarco
New template for web application packages
* conf/02-specfile-formatting-rules.conf - Davide Madrisan:
Do not warn if a 'source0' file URL begins by 'git://'.
-------------------------------------------------------------------------------
Changes in version 1.16.2 - Christmas Release

View File

@ -16,4 +16,4 @@ patch_name_structure="^%\{name\}-[0-9][\.0-9a-z]*-[a-zA-Z0-9_-]+*.patch[\.gzb2]*
# 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="\(http\|ftp\):\/\/.*\.\(tar\.gz\|tgz\|tar\.bz2\|tar\.Z\|tar\.xz\|shar\.gz\|zip\)"
source0_name_structure="\(http\|ftp\|git\):\/\/.*\.\(tar\.gz\|tgz\|tar\.bz2\|tar\.Z\|tar\.xz\|shar\.gz\|zip\)"