Hello community, here is the log from the commit of package rpmlint checked in at Mon May 5 00:41:02 CEST 2008. -------- --- rpmlint/rpmlint.changes 2008-05-01 13:25:37.000000000 +0200 +++ /mounts/work_src_done/NOARCH/rpmlint/rpmlint.changes 2008-05-02 19:31:27.000000000 +0200 @@ -1,0 +2,6 @@ +Fri May 2 19:31:12 CEST 2008 - dmueller@suse.de + +- readd cron check +- fix kmp check after the policy change + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ rpmlint.spec ++++++ --- /var/tmp/diff_new_pack.sJ1240/_old 2008-05-05 00:36:30.000000000 +0200 +++ /var/tmp/diff_new_pack.sJ1240/_new 2008-05-05 00:36:30.000000000 +0200 @@ -15,7 +15,7 @@ BuildRequires: rpm-python Summary: Rpm correctness checker Version: 0.82 -Release: 40 +Release: 42 Source0: %{name}-%{version}.tar.bz2 Source1: config Source1001: config.in @@ -144,6 +144,7 @@ %patch38 %patch39 %patch41 +%patch42 %patch46 %patch47 %patch48 @@ -157,8 +158,6 @@ %patch56 %patch57 %patch58 -# not yet, needs further support for recommends -#%patch42 cp -p %{SOURCE1} . cp -p %{SOURCE2} . cp -p %{SOURCE3} . @@ -197,6 +196,9 @@ /usr/share/man/man1/rpmlint.1.gz %changelog +* Fri May 02 2008 dmueller@suse.de +- readd cron check +- fix kmp check after the policy change * Wed Apr 30 2008 dmueller@suse.de - add checker for correct deps of kde4 packages - add check for mono requirements (BNC#381979) ++++++ check-cron-dependency.diff ++++++ --- /var/tmp/diff_new_pack.sJ1240/_old 2008-05-05 00:36:30.000000000 +0200 +++ /var/tmp/diff_new_pack.sJ1240/_new 2008-05-05 00:36:30.000000000 +0200 @@ -1,15 +1,16 @@ --- FilesCheck.py +++ FilesCheck.py -@@ -837,6 +837,8 @@ class FilesCheck(AbstractCheck.AbstractCheck): +@@ -835,6 +835,9 @@ logrotate_file=res or logrotate_file if res and res.group(1) != pkg.name: printError(pkg, 'incoherent-logrotate-file', f) -+ if (f.startswith('/etc/cron.') or res) and not ('cron' in pkg.requires()): ++ if (f.startswith('/etc/cron.') or res) \ ++ and not ('cron' in pkg.requires()+pkg.recommends()+pkg.suggests()): + printError(pkg, 'missing-dependency-to-cron', "for logrotate script", f) link=enreg[3] if link != '': ext=compr_regex.search(link) -@@ -1468,6 +1470,12 @@ packaged as arch dependent, or something else. Verify what the case is, and +@@ -1463,6 +1466,12 @@ if there's no way to produce useful debuginfo out of it, disable creation of the debuginfo package.''', ++++++ KMPPolicyCheck.py ++++++ --- rpmlint/KMPPolicyCheck.py 2008-05-01 13:08:54.000000000 +0200 +++ /mounts/work_src_done/NOARCH/rpmlint/KMPPolicyCheck.py 2008-05-02 15:21:09.000000000 +0200 @@ -57,8 +57,9 @@ if s[0].startswith('modalias('): have_modalias = True continue - if s[0].startswith('packageand(-%s:' % (kernel_flavour)): + if s[0].startswith('packageand(%s:' % (kernel_flavour)): have_proper_suppl = True + continue printWarning(pkg, 'suse-policy-kmp-excessive-supplements', s[0]) have_only_modalias = False @@ -73,16 +74,7 @@ 'suse-policy-kmp-excessive-supplements', """ """, 'suse-policy-kmp-missing-supplements', -"""If your kmp modules match some specific hardware, i.e. if the -"find-supplements" search done at the end of a build creates some -modalias() dependencies, you don't need to do anything. If your -module is hardware independent, you need to add the dependencies manually. - -To do this, add a preamble (-p) to your %suse_kernel_module_package -macro. the file should look like this: - - Enhances: kernel-%1 - Supplements: packageand(kernel-%1:%{-n*}) - +"""make sure that your buildrequires includes kernel-syms and module-init-tools +for proper dependencies to be built. """, ) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org