Hello community,

here is the log from the commit of package rpmlint for openSUSE:Factory checked 
in at 2014-03-17 09:12:44
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
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  2014-02-28 
16:24:35.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.rpmlint.new/rpmlint.changes     2014-03-17 
09:12:46.000000000 +0100
@@ -1,0 +2,5 @@
+Wed Mar  5 14:06:46 UTC 2014 - lnus...@suse.de
+
+- add minimal check to verify appdata.xml files are parsable XML
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ config ++++++
--- /var/tmp/diff_new_pack.viK5Kj/_old  2014-03-17 09:12:47.000000000 +0100
+++ /var/tmp/diff_new_pack.viK5Kj/_new  2014-03-17 09:12:47.000000000 +0100
@@ -40,6 +40,7 @@
 addCheck("CheckLogrotate")
 addCheck("CheckPAMModules")
 addCheck("CheckRCLinks")
+addCheck("CheckAppdata")
 
 # stuff autobuild takes care about
 addFilter(".*invalid-version.*")

++++++ rpmlint-checks-master.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/rpmlint-checks-master/BrandingPolicyCheck.py 
new/rpmlint-checks-master/BrandingPolicyCheck.py
--- old/rpmlint-checks-master/BrandingPolicyCheck.py    2013-09-23 
16:18:57.000000000 +0200
+++ new/rpmlint-checks-master/BrandingPolicyCheck.py    2014-03-05 
15:05:40.000000000 +0100
@@ -108,7 +108,7 @@
 if Config.info:
     addDetails(
 'suse-branding-specific-branding-req',
-"""bla""",
+"""packages must not require a specific branding or theme package to allow for 
differnt themes""",
 'suse-branding-no-branding-provides',
 """Please add a provides entry similar to 'Provides: %name-branding = 
%version'.""",
 'suse-branding-unversioned-provides',
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/rpmlint-checks-master/CheckAppdata.py 
new/rpmlint-checks-master/CheckAppdata.py
--- old/rpmlint-checks-master/CheckAppdata.py   1970-01-01 01:00:00.000000000 
+0100
+++ new/rpmlint-checks-master/CheckAppdata.py   2014-03-05 15:05:40.000000000 
+0100
@@ -0,0 +1,36 @@
+# vim:sw=4:et
+#############################################################################
+# File          : CheckAppdata.py
+# Package       : rpmlint
+# Author        : Stephan Kulow
+# Purpose       : Check for valid XML in appdata
+#############################################################################
+
+# http://people.freedesktop.org/~hughsient/appdata/
+
+from Filter import *
+import AbstractCheck
+import re
+import os
+import string
+from xml.dom.minidom import parse
+from xml.parsers.expat import ExpatError
+
+class AppdataCheck(AbstractCheck.AbstractFilesCheck):
+    def __init__(self):
+        AbstractCheck.AbstractFilesCheck.__init__(self, "CheckAppdata", 
'/usr/share/appdata/.*appdata\.xml$')
+
+    def check_file(self, pkg, filename):
+        try:
+            parse(pkg.dirName() + filename)
+        except ExpatError:
+            printError(pkg, 'invalid-xml-in-appdata', filename)
+
+check=AppdataCheck()
+
+if Config.info:
+    addDetails(
+'invalid-xml-in-appdata',
+"""The appdata file provided by the package is not valid XML and will
+cause problems. Use e.g. xmllint to verify the problem and fix."""
+)

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

Reply via email to