Fix the ExcludeArch pattern and add two more

This commit is contained in:
Pierre-Yves Chibon 2017-01-13 11:58:05 +01:00
parent eb24f46b26
commit 7f0f327c3d

View file

@ -17,7 +17,7 @@ import sys
from email.mime.text import MIMEText
abspath = os.path.abspath(os.environ['GIT_DIR'])
PATTERNS = ('+ExclusiveArch:', '+ExcludesArch:')
PATTERNS = ('+ExclusiveArch:', '+ExcludeArch:', '+ifarch', '+ifnarch')
FROM_EMAIL = 'githook-noreply@fedoraproject.org'
TO_MAIL = 'arch-excludes@lists.fedoraproject.org'
CGIT_URL = 'http://pkgs.fedoraproject.org/cgit/%s/commit/?id=%s'