commit rpmlint for openSUSE:Factory
Hello community, here is the log from the commit of package rpmlint for openSUSE:Factory checked in at Fri Jan 30 16:19:00 CET 2009. -------- --- rpmlint/rpmlint.changes 2009-01-23 15:18:45.000000000 +0100 +++ rpmlint/rpmlint.changes 2009-01-30 15:37:05.000000000 +0100 @@ -1,0 +2,6 @@ +Fri Jan 30 14:35:48 CET 2009 - lnussel@suse.de + +- add exception for nfs-utils, texinfo and perl +- allow backup files if they are ghost files + +------------------------------------------------------------------- calling whatdependson for head-i586 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ rpmlint.spec ++++++ --- /var/tmp/diff_new_pack.Fb6315/_old 2009-01-30 16:18:43.000000000 +0100 +++ /var/tmp/diff_new_pack.Fb6315/_new 2009-01-30 16:18:43.000000000 +0100 @@ -22,7 +22,7 @@ BuildRequires: rpm-python Summary: Rpm correctness checker Version: 0.84 -Release: 12 +Release: 13 Source0: %{name}-%{version}.tar.bz2 Source1: config Source1001: config.in @@ -222,6 +222,9 @@ /usr/share/man/man1/rpmlint.1.gz %changelog +* Fri Jan 30 2009 lnussel@suse.de +- add exception for nfs-utils, texinfo and perl +- allow backup files if they are ghost files * Fri Jan 23 2009 lnussel@suse.de - add check for DBus Policy problems * Tue Jan 13 2009 lnussel@suse.de ++++++ CheckFilelist.py ++++++ --- /var/tmp/diff_new_pack.Fb6315/_old 2009-01-30 16:18:44.000000000 +0100 +++ /var/tmp/diff_new_pack.Fb6315/_new 2009-01-30 16:18:44.000000000 +0100 @@ -38,6 +38,10 @@ type = (mode>>12)&017 return type != 012 +def ghostfile(pkg, f): + ghosts = pkg.ghostFiles() + return f in ghosts + _goodprefixes = ( '/bin/', '/boot/', @@ -86,6 +90,7 @@ _checks = [ { + # TODO: split this into several checks 'good': [ '/etc/sysconfig/cbq', '/etc/sysconfig/scripts', @@ -103,7 +108,6 @@ ], 'bad': [ '/usr/share/info/dir', - '*~', '*/CVS', '*/CVS/*', '*/.cvsignore', @@ -111,7 +115,6 @@ '*/RCS', '*/RCS/*', '*,v', - '*.bak', '*/.xvpics', '*.orig', '*.orig.gz', @@ -124,13 +127,19 @@ '/etc/rc.config.d/*', '/etc/init.d/*/*', '/usr/share/locale/LC_MESSAGES', - '/opt/gnome', '/usr/lib/perl5/site_perl/*', '/usr/lib/perl5/vendor_perl/5.*/auto', '/usr/lib/perl5/vendor_perl/5.*/*-linux-*/auto', ], }, { + 'bad': [ + '*~', + '*.bak', + ], + 'ignorefileif': ghostfile, + }, + { 'error': 'suse-filelist-forbidden-devel-in-lib', 'details': 'please move la files, static libs and .so symlinks to /usr/lib(64)', 'bad': [ ++++++ config ++++++ --- /var/tmp/diff_new_pack.Fb6315/_old 2009-01-30 16:18:44.000000000 +0100 +++ /var/tmp/diff_new_pack.Fb6315/_new 2009-01-30 16:18:44.000000000 +0100 @@ -216,6 +216,17 @@ addFilter("collect-desktop-files\.\S+: \w: (non-devel|unnecessary)-buildrequires") addFilter("installation-images\.\S+: \w: (non-devel|unnecessary)-buildrequires") +# directory used by statd +addFilter("nfs-client\.\S+: \w: suse-filelist-forbidden /var/lib/nfs/sm.bak ") + +# perl must have those +addFilter("perl\.\S+: \w: suse-filelist-forbidden /usr/lib/perl5/site_perl/.* ") +addFilter("perl\.\S+: \w: suse-filelist-forbidden /usr/lib/perl5/vendor_perl/5\..*/auto ") +addFilter("perl\.\S+: \w: suse-filelist-forbidden /usr/lib/perl5/vendor_perl/5\..*/.*-linux-.*/auto ") + +# texinfo maintains that file +addFilter("texinfo\.\S+: \w: suse-filelist-forbidden /usr/share/info/dir ") + # suboptimal library packaging addFilter(" non-devel-buildrequires graphviz") addFilter(" non-devel-buildrequires ImageMagick") ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org
participants (1)
-
root@Hilbert.suse.de