From e6f6028cb5ca8124c55b576b0567be194f0fb514f831f12fcd5d42889993c2d1 Mon Sep 17 00:00:00 2001 From: OBS User buildservice-autocommit Date: Wed, 8 Jun 2011 07:11:32 +0000 Subject: [PATCH 1/3] Updating link to change in openSUSE:Factory/rpmlint revision 124.0 OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=93a35d5fb982865d0588fa945f431e33 --- rpmlint.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rpmlint.spec b/rpmlint.spec index 5753b97..cb6acac 100644 --- a/rpmlint.spec +++ b/rpmlint.spec @@ -23,7 +23,7 @@ Name: rpmlint BuildRequires: rpm-python xz Summary: Rpm correctness checker Version: 1.2 -Release: 7 +Release: 9 Source0: http://rpmlint.zarb.org/download/rpmlint-%{version}.tar.xz Source1: config Source1001: config.in From ced1c3a60a43fc6a7277723b8b5d7e119e953bf5e2c23ab40e111898a1ce7dc7 Mon Sep 17 00:00:00 2001 From: Ludwig Nussel Date: Wed, 15 Jun 2011 12:34:35 +0000 Subject: [PATCH 2/3] - fix library policy check complaining about non-ELF files OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=36 --- LibraryPolicyCheck.py | 4 ++-- rpmlint.changes | 5 +++++ 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/LibraryPolicyCheck.py b/LibraryPolicyCheck.py index 855468e..b239e87 100644 --- a/LibraryPolicyCheck.py +++ b/LibraryPolicyCheck.py @@ -318,11 +318,11 @@ class LibraryPolicyCheck(AbstractCheck.AbstractCheck): reqlibs = set() pkg_requires = set(map(lambda x: string.split(x[0],'(')[0], pkg.requires())) - for f in files.keys(): + for f, pkgfile in files.items(): if f.find('.so.') != -1 or f.endswith('.so'): filename = pkg.dirName() + '/' + f try: - if stat.S_ISREG(files[f].mode): + if stat.S_ISREG(files[f].mode) and 'ELF' in pkgfile.magic: bi = BinaryInfo(pkg, filename, f, False, True) libs_needed = libs_needed.union(bi.needed) if bi.soname != 0: diff --git a/rpmlint.changes b/rpmlint.changes index 60d0570..6027c60 100644 --- a/rpmlint.changes +++ b/rpmlint.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Jun 15 12:34:09 UTC 2011 - lnussel@suse.de + +- fix library policy check complaining about non-ELF files + ------------------------------------------------------------------- Tue Jun 7 15:14:20 UTC 2011 - lnussel@suse.de From 9e3bb3b80064ea8a4cf9715a4a47379bde99a8db546d38f00b9ce51aca3becb3 Mon Sep 17 00:00:00 2001 From: Ludwig Nussel Date: Wed, 15 Jun 2011 12:59:31 +0000 Subject: [PATCH 3/3] add bugnr OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=37 --- rpmlint.changes | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rpmlint.changes b/rpmlint.changes index 6027c60..852253f 100644 --- a/rpmlint.changes +++ b/rpmlint.changes @@ -1,7 +1,7 @@ ------------------------------------------------------------------- Wed Jun 15 12:34:09 UTC 2011 - lnussel@suse.de -- fix library policy check complaining about non-ELF files +- fix library policy check complaining about non-ELF files (bnc#700067) ------------------------------------------------------------------- Tue Jun 7 15:14:20 UTC 2011 - lnussel@suse.de