commit rpmlint for openSUSE:Factory
Hello community, here is the log from the commit of package rpmlint for openSUSE:Factory checked in at Thu Feb 26 18:32:25 CET 2009. -------- --- rpmlint/rpmlint.changes 2009-02-09 15:50:14.000000000 +0100 +++ rpmlint/rpmlint.changes 2009-02-26 11:16:17.000000000 +0100 @@ -1,0 +2,7 @@ +Thu Feb 26 11:11:54 CET 2009 - lnussel@suse.de + +- use separate error for sysconfig stuff (bnc#470965) +- move RCS detection to FilesCheck.py +- remove explicit requires on python, already handled by %py_requires + +------------------------------------------------------------------- calling whatdependson for head-i586 New: ---- version-control-internal-file.diff ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ rpmlint.spec ++++++ --- /var/tmp/diff_new_pack.e16351/_old 2009-02-26 18:27:47.000000000 +0100 +++ /var/tmp/diff_new_pack.e16351/_new 2009-02-26 18:27:47.000000000 +0100 @@ -22,7 +22,7 @@ BuildRequires: rpm-python Summary: Rpm correctness checker Version: 0.84 -Release: 15 +Release: 17 Source0: %{name}-%{version}.tar.bz2 Source1: config Source1001: config.in @@ -48,7 +48,7 @@ License: GPL v2 or later Group: System/Packages BuildRoot: %{_tmppath}/%{name}-%{version}-build -Requires: rpm-python, python, binutils, file, findutils, cpio, grep, bash +Requires: rpm-python, binutils, file, findutils, cpio, grep, bash Requires: desktop-file-utils BuildArch: noarch Patch0: rpmlint-suse.diff @@ -107,6 +107,7 @@ Patch69: useless-requires-doc.diff Patch70: subprocess-support.diff Patch71: suse-binary-info-compile-opts.diff +Patch72: version-control-internal-file.diff %py_requires %description @@ -178,6 +179,7 @@ %patch69 %patch70 %patch71 +%patch72 -p1 cp -p %{SOURCE1} . cp -p %{SOURCE2} . cp -p %{SOURCE3} . @@ -222,6 +224,10 @@ /usr/share/man/man1/rpmlint.1.gz %changelog +* Thu Feb 26 2009 lnussel@suse.de +- use separate error for sysconfig stuff (bnc#470965) +- move RCS detection to FilesCheck.py +- remove explicit requires on python, already handled by %%py_requires * Mon Feb 09 2009 lnussel@suse.de - remove check for /usr/share/info/dir from CheckFilelist.py, already in upstream FilesCheck.py ++++++ CheckFilelist.py ++++++ --- /var/tmp/diff_new_pack.e16351/_old 2009-02-26 18:27:48.000000000 +0100 +++ /var/tmp/diff_new_pack.e16351/_new 2009-02-26 18:27:48.000000000 +0100 @@ -90,7 +90,22 @@ _checks = [ { - # TODO: split this into several checks + 'bad': [ + '*/.xvpics', + '*.orig', + '*.orig.gz', + '/usr/share/*/.libs*', + '/usr/share/*/.deps*', + '/var/adm/setup', + '/etc/httpd/*', + '/etc/init.d/*/*', + '/usr/share/locale/LC_MESSAGES', + ], + }, + { + 'error': 'suse-filelist-forbidden-sysconfig', + 'details': '''Please use /var/adm/fillup-templates/sysconfig.<packagename> + and call %fillup_and_insserv to install new sysconfig files''', 'good': [ '/etc/sysconfig/cbq', '/etc/sysconfig/scripts', @@ -107,27 +122,11 @@ '/etc/sysconfig/uml', ], 'bad': [ - '*/CVS', - '*/CVS/*', - '*/.cvsignore', - '*/.svn', - '*/RCS', - '*/RCS/*', - '*,v', - '*/.xvpics', - '*.orig', - '*.orig.gz', - '/usr/share/*/.libs*', - '/usr/share/*/.deps*', '/var/adm/fillup-templates/rc.config.*', - '/var/adm/setup', - '/etc/httpd/*', '/etc/sysconfig/*', '/etc/rc.config.d/*', - '/etc/init.d/*/*', - '/usr/share/locale/LC_MESSAGES', ], - }, + }, { 'error': 'suse-filelist-forbidden-perl-dir', 'details': '''perl files installed a non-vendor installed path, ++++++ version-control-internal-file.diff ++++++ also detect RCS files Index: rpmlint-0.84/FilesCheck.py =================================================================== --- rpmlint-0.84.orig/FilesCheck.py +++ rpmlint-0.84/FilesCheck.py @@ -655,7 +655,7 @@ ldconfig_regex=re.compile('^[^#]*ldconfi depmod_regex=re.compile('^[^#]*depmod', re.MULTILINE) install_info_regex=re.compile('^[^#]*install-info', re.MULTILINE) perl_temp_file=re.compile('.*perl.*/(\.packlist|perllocal\.pod)$') -scm_regex=re.compile('/CVS/[^/]+$|/\.(cvs|git|hg)ignore$|/\.hgtags$|/\.(git|hg|svn)/|/(\.arch-ids|{arch})/') +scm_regex=re.compile('/(CVS|RCS)(/[^/]+)?$|/\.(cvs|git|hg)ignore$|/\.hgtags$|/\.(git|hg|svn)/|/(\.arch-ids|{arch})/|,v$') htaccess_regex=re.compile('\.htaccess$') games_path_regex=re.compile('^/usr(/lib(64)?)?/games/') games_group_regex=re.compile(Config.getOption('RpmGamesGroups', DEFAULT_GAMES_GROUPS)) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 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