Hello community,

here is the log from the commit of package rpmlint for openSUSE:Factory
checked in at Wed Jun 15 16:59:25 CEST 2011.



--------
--- rpmlint/rpmlint.changes     2011-06-07 17:14:42.000000000 +0200
+++ /mounts/work_src_done/STABLE/rpmlint/rpmlint.changes        2011-06-15 
14:59:31.000000000 +0200
@@ -1,0 +2,5 @@
+Wed Jun 15 12:34:09 UTC 2011 - lnus...@suse.de
+
+- fix library policy check complaining about non-ELF files (bnc#700067)
+
+-------------------------------------------------------------------

calling whatdependson for head-i586


++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ rpmlint.spec ++++++
--- /var/tmp/diff_new_pack.XC9vxP/_old  2011-06-15 16:52:51.000000000 +0200
+++ /var/tmp/diff_new_pack.XC9vxP/_new  2011-06-15 16:52:51.000000000 +0200
@@ -23,7 +23,7 @@
 BuildRequires:  rpm-python xz
 Summary:        Rpm correctness checker
 Version:        1.2
-Release:        9
+Release:        11
 Source0:        http://rpmlint.zarb.org/download/rpmlint-%{version}.tar.xz
 Source1:        config
 Source1001:     config.in

++++++ LibraryPolicyCheck.py ++++++
--- /var/tmp/diff_new_pack.XC9vxP/_old  2011-06-15 16:52:51.000000000 +0200
+++ /var/tmp/diff_new_pack.XC9vxP/_new  2011-06-15 16:52:51.000000000 +0200
@@ -318,11 +318,11 @@
         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:



++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++



Remember to have fun...

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org

Reply via email to