summaryrefslogtreecommitdiff
path: root/rpmlint-checks-master
diff options
context:
space:
mode:
authorŁukasz Stelmach <l.stelmach@samsung.com>2014-11-03 12:46:57 +0100
committerStephane Desneux <stephane.desneux@open.eurogiciel.org>2014-11-06 11:36:59 +0100
commit8c14ae38d4a4436bbf360a14832db2954d93ac8d (patch)
tree04a3453c3d4838c840f554a3e11c08aea70586f8 /rpmlint-checks-master
parent1a83bfdc08996e745418a22a3c51a5297571cf7d (diff)
downloadrpmlint-tizen_3.0.2014.q4_common.tar.gz
rpmlint-tizen_3.0.2014.q4_common.tar.bz2
rpmlint-tizen_3.0.2014.q4_common.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>
Diffstat (limited to 'rpmlint-checks-master')
-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