forked from pool/rpmlint
This commit is contained in:
parent
258fe74221
commit
241b41a3d4
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Jun 28 01:29:30 CEST 2008 - dmueller@suse.de
|
||||
|
||||
- also read /etc/rpmlint/factory.config
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jun 27 14:19:50 CEST 2008 - dmueller@suse.de
|
||||
|
||||
|
@ -15,7 +15,7 @@ Name: rpmlint
|
||||
BuildRequires: rpm-python
|
||||
Summary: Rpm correctness checker
|
||||
Version: 0.83
|
||||
Release: 2
|
||||
Release: 3
|
||||
Source0: %{name}-%{version}.tar.bz2
|
||||
Source1: config
|
||||
Source1001: config.in
|
||||
@ -89,6 +89,7 @@ Patch58: add-weak-dependencies.diff
|
||||
Patch60: selfconflicts-provide.diff
|
||||
Patch61: fix-tabs-indenting.diff
|
||||
Patch62: no-badness-return.diff
|
||||
Patch63: suse-factory-config.diff
|
||||
%py_requires
|
||||
|
||||
%description
|
||||
@ -154,6 +155,7 @@ Authors:
|
||||
%patch60
|
||||
%patch61
|
||||
%patch62
|
||||
%patch63
|
||||
cp -p %{SOURCE1} .
|
||||
cp -p %{SOURCE2} .
|
||||
cp -p %{SOURCE3} .
|
||||
@ -192,6 +194,8 @@ rm -rf $RPM_BUILD_ROOT
|
||||
/usr/share/man/man1/rpmlint.1.gz
|
||||
|
||||
%changelog
|
||||
* Sat Jun 28 2008 dmueller@suse.de
|
||||
- also read /etc/rpmlint/factory.config
|
||||
* Fri Jun 27 2008 dmueller@suse.de
|
||||
- fix typo in suse-version check
|
||||
* Mon Jun 23 2008 dmueller@suse.de
|
||||
|
11
suse-factory-config.diff
Normal file
11
suse-factory-config.diff
Normal file
@ -0,0 +1,11 @@
|
||||
--- rpmlint.py
|
||||
+++ rpmlint.py
|
||||
@@ -225,7 +225,7 @@ conf_file='~/.rpmlintrc'
|
||||
info_error=0
|
||||
|
||||
# load global config files
|
||||
-for f in ('/usr/share/rpmlint/config','/etc/rpmlint/config'):
|
||||
+for f in ('/usr/share/rpmlint/config','/etc/rpmlint/config','/etc/rpmlint/factory.config'):
|
||||
try:
|
||||
execfile(f)
|
||||
except IOError:
|
Loading…
x
Reference in New Issue
Block a user