diff options
author | Łukasz Stelmach <l.stelmach@samsung.com> | 2014-11-03 12:46:57 +0100 |
---|---|---|
committer | Stephane Desneux <stephane.desneux@open.eurogiciel.org> | 2014-11-06 11:36:59 +0100 |
commit | 8c14ae38d4a4436bbf360a14832db2954d93ac8d (patch) | |
tree | 04a3453c3d4838c840f554a3e11c08aea70586f8 | |
parent | 1a83bfdc08996e745418a22a3c51a5297571cf7d (diff) | |
download | rpmlint-8c14ae38d4a4436bbf360a14832db2954d93ac8d.tar.gz rpmlint-8c14ae38d4a4436bbf360a14832db2954d93ac8d.tar.bz2 rpmlint-8c14ae38d4a4436bbf360a14832db2954d93ac8d.zip |
Prevent false-positive from systemdtizen_3.0_ivi_releasetizen_3.0.m2.a1_tv_releasetizen_3.0.m2.a1_mobile_releasetizen_3.0.m1_tv_releasetizen_3.0.m1_mobile_releasesubmit/tizen_mobile/20141120.000000submit/tizen_ivi/20141119.444444submit/tizen_ivi/20141119.333333submit/tizen_ivi/20141119.051921submit/tizen_common/20141106.104310submit/tizen_base/20151223.111112accepted/tizen/ivi/20141120.064255accepted/tizen/common/20141106.104531accepted/tizen/base/20151223.052355tizen_3.0_ivitizen_3.0.m1_tvtizen_3.0.m1_mobiletizen_3.0.2015.q2_commontizen_3.0.2015.q1_commontizen_3.0.2014.q4_commonaccepted/tizen_wearableaccepted/tizen_tvaccepted/tizen_mobileaccepted/tizen_iviaccepted/tizen_commonaccepted/tizen_3.0_ivi
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 |