summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorŁukasz Stelmach <l.stelmach@samsung.com>2014-11-03 12:46:57 +0100
committerŁukasz Stelmach <l.stelmach@samsung.com>2014-11-03 12:47:21 +0100
commit18fe19e21bad6a046d8b78e157bfc04e3cc01b60 (patch)
treeabc35f58e7ffd4d1c44c0a971a009e28037ae0a8
parent2072387fb327faf71b8d3f5b853177e700a24d0c (diff)
downloadrpmlint-18fe19e21bad6a046d8b78e157bfc04e3cc01b60.tar.gz
rpmlint-18fe19e21bad6a046d8b78e157bfc04e3cc01b60.tar.bz2
rpmlint-18fe19e21bad6a046d8b78e157bfc04e3cc01b60.zip
systemd provides information about tmpfiles.d directory which triggers error in CheckPkgConfig.py due to unanchored "/tmp" in the regular expression. Change-Id: I51946989292b35198c98207f6dbb7e807ffc0f36 Signed-off-by: Łukasz Stelmach <l.stelmach@samsung.com>
-rw-r--r--rpmlint-checks-master/CheckPkgConfig.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/rpmlint-checks-master/CheckPkgConfig.py b/rpmlint-checks-master/CheckPkgConfig.py
index f2cf40a..cdcd1de 100644
--- a/rpmlint-checks-master/CheckPkgConfig.py
+++ b/rpmlint-checks-master/CheckPkgConfig.py
@@ -20,7 +20,7 @@ class PkgConfigCheck(AbstractCheck.AbstractFilesCheck):
AbstractCheck.AbstractFilesCheck.__init__(self, "CheckPkgConfig", ".*/pkgconfig/.*\.pc$")
# currently causes too many failures (2008-03-05)
#self.suspicious_dir=re.compile('(?:/usr/src/\w+/BUILD|/var/tmp|/tmp|/home|\@\w{1,50}\@)')
- self.suspicious_dir=re.compile('(?:/usr/src/\w+/BUILD|/var/tmp|/tmp|/home)')
+ self.suspicious_dir=re.compile('[=:](?:/usr/src/\w+/BUILD|/var/tmp|/tmp|/home)')
def check(self, pkg):
# check for references to /lib when in lib64 mode