Hello community, here is the log from the commit of package rpmlint-mini for openSUSE:Factory checked in at Wed Sep 2 18:04:16 CEST 2009. -------- --- rpmlint-mini/rpmlint-mini.changes 2009-01-23 15:17:50.000000000 +0100 +++ rpmlint-mini/rpmlint-mini.changes 2009-08-24 14:01:34.000000000 +0200 @@ -1,0 +2,5 @@ +Mon Aug 24 12:00:44 UTC 2009 - lnussel@suse.de + +- fix build with rpmlint 0.87 + +------------------------------------------------------------------- calling whatdependson for head-i586 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ rpmlint-mini.spec ++++++ --- /var/tmp/diff_new_pack.KwKMJm/_old 2009-09-02 18:03:51.000000000 +0200 +++ /var/tmp/diff_new_pack.KwKMJm/_new 2009-09-02 18:03:51.000000000 +0200 @@ -16,13 +16,16 @@ # # norootforbuild +# icecream 0 Name: rpmlint-mini BuildRequires: glib2-devel pkg-config python-xml rpm-python rpmlint +#FIXME: need to make this work for e.g. CheckIconSizes.py +#BuildRequires: python-magic Summary: Rpm correctness checker Version: 1.0 -Release: 215 +Release: 216 Url: http://rpmlint.zarb.org/ License: GPL v2 or later Group: System/Packages @@ -101,7 +104,7 @@ LD_LIBRARY_PATH=$RPM_BUILD_ROOT/opt/testing/%_lib PYTHONPATH=$RPM_BUILD_ROOT/opt/testing/share/rpmlint export PYTHONPATH LD_LIBRARY_PATH -$RPM_BUILD_ROOT/opt/testing/bin/python -tt -u -O $RPM_BUILD_ROOT/opt/testing/share/rpmlint/rpmlint.pyo $* || exit 1 +$RPM_BUILD_ROOT/opt/testing/bin/python -tt -u -O $RPM_BUILD_ROOT/opt/testing/share/rpmlint/rpmlint.pyo --help || exit 1 %clean rm -rf $RPM_BUILD_ROOT ++++++ package-rpmlintrc.diff ++++++ --- /var/tmp/diff_new_pack.KwKMJm/_old 2009-09-02 18:03:51.000000000 +0200 +++ /var/tmp/diff_new_pack.KwKMJm/_new 2009-09-02 18:03:51.000000000 +0200 @@ -1,62 +1,66 @@ ---- Config.py 2006-07-10 23:11:14.000000000 +0200 -+++ Config.py 2007-06-05 01:10:16.000000000 +0200 -@@ -72,7 +72,7 @@ +Index: Config.py +=================================================================== +--- Config.py.orig ++++ Config.py +@@ -75,7 +75,7 @@ def resetChecks(): # handle the list of directories to look for checks --_dirs=["/usr/share/rpmlint"] -+_dirs=["/opt/testing/share/rpmlint"] +-_dirs = ["/usr/share/rpmlint"] ++_dirs = ["/opt/testing/share/rpmlint"] def addCheckDir(dir): global _dirs ---- rpmlint.py 2007-03-15 20:49:31.000000000 +0100 -+++ rpmlint.py 2007-06-05 01:11:19.000000000 +0200 -@@ -180,7 +180,7 @@ +Index: rpmlint.py +=================================================================== +--- rpmlint.py.orig ++++ rpmlint.py +@@ -226,7 +226,7 @@ except getopt.error, e: sys.exit(1) # process options --checkdir='/usr/share/rpmlint' +-checkdir = '/usr/share/rpmlint' +checkdir='/opt/testing/share/rpmlint' - verbose=0 - extract_dir=None - prof=0 -@@ -189,7 +189,8 @@ - info_error=0 - + checks = [] + verbose = 0 + extract_dir = None +@@ -237,7 +237,7 @@ info_error = 0 # load global config files --for f in ('/usr/share/rpmlint/config','/etc/rpmlint/config','/etc/rpmlint/factory.config'): -+for f in ('/opt/testing/share/rpmlint/config', -+ '/etc/rpmlint/config', '/etc/rpmlint/factory.config'): + configs = glob.glob('/etc/rpmlint/*config') + configs.sort() +-configs.insert(0, '/usr/share/rpmlint/config') ++configs.insert(0, '/opt/testing/share/rpmlint/config') + for f in configs: try: execfile(f) - except IOError: -@@ -234,12 +235,19 @@ +@@ -279,12 +279,16 @@ for o in opt: print 'unknown option', o # load user config file -+userlist = [os.path.expanduser(conf_file)] - try: +-try: - execfile(os.path.expanduser(conf_file)) -except IOError: -+ userlist += [rc for rc in os.listdir("/usr/src/packages/SOURCES") -+ if rc.endswith("rpmlintrc")] -+except: - pass +- pass -except Exception,E: -- sys.stderr.write('Error loading %s, skipping: %s\n' % (conf_file, E )) +- sys.stderr.write('(none): W: error loading %s, skipping: %s\n' % (conf_file, E)) ++userlist = glob.glob("/usr/src/packages/SOURCES/*rpmlintrc") ++userlist.insert(0, os.path.expanduser(conf_file)) ++ +for f in userlist: + try: -+ execfile(os.path.join('/usr/src/packages/SOURCES', f)) ++ execfile(f) + except IOError: + pass + except Exception,E: -+ sys.stderr.write('Error loading %s, skipping: %s\n' % (conf_file, E )) ++ sys.stderr.write('(none): W: error loading %s, skipping: %s\n' % (conf_file, E)) if not extract_dir: - extract_dir=Config.getOption('ExtractDir', '/tmp') ---- MenuXDGCheck.py + extract_dir = Config.getOption('ExtractDir', tempfile.gettempdir()) +Index: MenuXDGCheck.py +=================================================================== +--- MenuXDGCheck.py.orig +++ MenuXDGCheck.py -@@ -21,7 +21,7 @@ +@@ -22,7 +22,7 @@ class MenuXDGCheck(AbstractCheck.Abstrac def check_file(self, pkg, filename): f = pkg.dirName() + filename ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org