0.67, improve default config.

This commit is contained in:
Ville Skyttä 2005-02-13 19:28:58 +00:00
parent 378e0e86d8
commit 82d47535e4
5 changed files with 33 additions and 7 deletions

View File

@ -1 +1 @@
rpmlint-0.65.tar.bz2
rpmlint-0.67.tar.bz2

View File

@ -4,9 +4,9 @@
from Config import *
setOption("Vendor", "Fedora Linux")
setOption("Distribution", "Fedora Linux")
setOption("ReleaseExtension", None)
#setOption("Vendor", "Fedora Extras")
#setOption("Distribution", "Fedora Extras")
setOption("ReleaseExtension", '')
setOption("ValidBuildHost", ".*")
setOption("Packager", ".*")
setOption("UseVersionInChangeLog", 1)
@ -80,3 +80,5 @@ addFilter("W: .* source-or-patch-not-[bg]zipped .*")
addFilter("E: .* lib-package-without-%mklibname")
addFilter("E: .* no-dependency (perl|python)-base.*")
addFilter("W: .* (python|perl5)-naming-policy-not-applied.*")
addFilter("W: .* invalid-distribution .*")
addFilter("W: .* invalid-vendor .*")

16
rpmlint-siteperl.patch Normal file
View File

@ -0,0 +1,16 @@
Index: FilesCheck.py
===================================================================
RCS file: /cooker/soft/rpmlint/FilesCheck.py,v
retrieving revision 1.82
diff -u -r1.82 FilesCheck.py
--- FilesCheck.py 11 Feb 2005 08:32:23 -0000 1.82
+++ FilesCheck.py 13 Feb 2005 19:04:57 -0000
@@ -181,7 +181,7 @@
lib_package_regex=re.compile('^(lib|.+-libs)')
hidden_file_regex=re.compile('/\.[^/]*$')
mispelled_macro_regex=re.compile('%{.*}')
-siteperl_perl_regex=re.compile('^/usr/lib/perl5/site_perl/')
+siteperl_perl_regex=re.compile('/site_perl/')
manifest_perl_regex=re.compile('^/usr/share/doc/perl-.*/MANIFEST(\.SKIP)?$');
shellbang_regex=re.compile('^#!\s*(\S*)')
interpreter_regex=re.compile('^/(usr/)?bin/[^/]+$')

View File

@ -1,5 +1,5 @@
Name: rpmlint
Version: 0.65
Version: 0.67
Release: 1
Epoch: 0
Summary: RPM correctness checker
@ -7,8 +7,9 @@ Summary: RPM correctness checker
Group: Development/Tools
License: GPL
URL: http://people.mandrakesoft.com/~flepied/projects/rpmlint/
Source0: http://people.mandrakesoft.com/~flepied/projects/rpmlint/dist/rpmlint-0.65.tar.bz2
Source0: http://people.mandrakesoft.com/~flepied/projects/rpmlint/dist/rpmlint-0.67.tar.bz2
Source1: %{name}-fedora-config
Patch0: %{name}-siteperl.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
@ -22,6 +23,7 @@ and source packages can be checked.
%prep
%setup -q
%patch0
%{__perl} -pi -e 's|/etc/httpd/webapps\.d|%{_sysconfdir}/httpd/conf.d|' \
FilesCheck.py I18NCheck.py
@ -81,6 +83,12 @@ fi
%changelog
* Sun Feb 13 2005 Ville Skyttä <ville.skytta at iki.fi> - 0:0.67-1
- 0.67.
- Patch to catch more site_perl directories.
- Default config improvements: filter Distribution and Vendor warnings,
use empty string instead of None for release extension (fixes -i).
* Sat Jan 29 2005 Ville Skyttä <ville.skytta at iki.fi> - 0:0.65-1
- Update to 0.65.

View File

@ -1 +1 @@
7e238f5121e2451fc1e100a4f13f26f0 rpmlint-0.65.tar.bz2
5b3e0d8eb10b6013d8987ce5a180c7ae rpmlint-0.67.tar.bz2