Hello community,

here is the log from the commit of package rpmlint for openSUSE:Factory checked 
in at 2013-08-23 11:07:29
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rpmlint (Old)
 and      /work/SRC/openSUSE:Factory/.rpmlint.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "rpmlint"

Changes:
--------
--- /work/SRC/openSUSE:Factory/rpmlint/rpmlint.changes  2013-08-07 
20:56:04.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.rpmlint.new/rpmlint.changes     2013-08-23 
11:07:30.000000000 +0200
@@ -1,0 +2,5 @@
+Fri Aug  9 09:07:50 UTC 2013 - dmuel...@suse.com
+
+- update rpmlint-checks from git 
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ rpmlint-checks-master.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/rpmlint-checks-master/ErlangCheck.py 
new/rpmlint-checks-master/ErlangCheck.py
--- old/rpmlint-checks-master/ErlangCheck.py    1970-01-01 01:00:00.000000000 
+0100
+++ new/rpmlint-checks-master/ErlangCheck.py    2013-08-09 11:07:23.000000000 
+0200
@@ -0,0 +1,42 @@
+# vim:sw=4:et
+#############################################################################
+# File          : ErlangCheck.py
+# Package       : rpmlint
+# Author        : Matwey V. Kornilov
+# Purpose       : Check for erlang compiled files
+#############################################################################
+
+from Filter import *
+import AbstractCheck
+import rpm
+import re
+import os
+import commands
+import Config
+import stat
+
+from pybeam import BeamFile
+
+class ErlangCheck(AbstractCheck.AbstractFilesCheck):
+    def __init__(self):
+        AbstractCheck.AbstractFilesCheck.__init__(self, "ErlangCheck", 
".*?\.beam$")
+        build_dir = rpm.expandMacro("%_builddir") 
+        self.source_re = re.compile(build_dir)
+
+    def check_file(self, pkg, filename):
+        beam = BeamFile(pkg.files()[filename].path)
+        if 'debug_info' not in beam.compileinfo['options']:
+            printWarning(pkg, "beam-compiled-without-debug_info", filename)
+        if not self.source_re.match(beam.compileinfo['source'].value):
+            printWarning(pkg, "beam-was-not-recompiled", filename, 
beam.compileinfo['source'].value)
+
+check=ErlangCheck()
+
+if Config.info:
+    addDetails(
+'beam-compiled-without-debug_info',
+"Your beam file indicates that it doesn't contain debug_info. Please, make 
sure that you compile with +debug_info.",
+'beam-was-not-recompiled',
+"It seems that your beam file was not compiled by you, but was just copied in 
binary form to destination. Please, make sure that you really compile it from 
the sources.",
+)
+
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/rpmlint-checks-master/KMPPolicyCheck.py 
new/rpmlint-checks-master/KMPPolicyCheck.py
--- old/rpmlint-checks-master/KMPPolicyCheck.py 2013-06-28 18:05:19.000000000 
+0200
+++ new/rpmlint-checks-master/KMPPolicyCheck.py 2013-08-09 11:07:23.000000000 
+0200
@@ -70,14 +70,14 @@
 if Config.info:
     addDetails(
 'suse-policy-kmp-missing-requires',
-"""Make sure you have extended '%suse_kernel_module_package' by
- '-p %_sourcedir/preamble', a file named 'preamble' as source and there 
+"""Make sure you have extended '%kernel_module_package' by
+ '-p %_sourcedir/preamble', a file named 'preamble' as source and there
  specified 'Requires: kernel-%1'.
  """,
 'suse-policy-kmp-excessive-enhances',
 """ """,
 'suse-policy-kmp-missing-enhances',
-"""Make sure you have extended '%suse_kernel_module_package' by
+"""Make sure you have extended '%kernel_module_package' by
  '-p %_sourcedir/preamble', a file named 'preamble' as source and there
  specified 'Enhances: kernel-%1'.
  """,

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

Reply via email to