diff options
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 |
commit | 18fe19e21bad6a046d8b78e157bfc04e3cc01b60 (patch) | |
tree | abc35f58e7ffd4d1c44c0a971a009e28037ae0a8 | |
parent | 2072387fb327faf71b8d3f5b853177e700a24d0c (diff) | |
download | rpmlint-18fe19e21bad6a046d8b78e157bfc04e3cc01b60.tar.gz rpmlint-18fe19e21bad6a046d8b78e157bfc04e3cc01b60.tar.bz2 rpmlint-18fe19e21bad6a046d8b78e157bfc04e3cc01b60.zip |
Prevent false-positive from systemdsubmit/tizen/20141104.115609submit/devel/tizen/20141104.175102accepted/tizen/common/20141104.144803
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.py | 2 |
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 |