SHA256
1
0
forked from pool/rpmlint
OBS User unknown 2008-06-28 00:03:14 +00:00 committed by Git OBS Bridge
parent 258fe74221
commit 241b41a3d4
3 changed files with 21 additions and 1 deletions

View File

@ -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 Fri Jun 27 14:19:50 CEST 2008 - dmueller@suse.de

View File

@ -15,7 +15,7 @@ Name: rpmlint
BuildRequires: rpm-python BuildRequires: rpm-python
Summary: Rpm correctness checker Summary: Rpm correctness checker
Version: 0.83 Version: 0.83
Release: 2 Release: 3
Source0: %{name}-%{version}.tar.bz2 Source0: %{name}-%{version}.tar.bz2
Source1: config Source1: config
Source1001: config.in Source1001: config.in
@ -89,6 +89,7 @@ Patch58: add-weak-dependencies.diff
Patch60: selfconflicts-provide.diff Patch60: selfconflicts-provide.diff
Patch61: fix-tabs-indenting.diff Patch61: fix-tabs-indenting.diff
Patch62: no-badness-return.diff Patch62: no-badness-return.diff
Patch63: suse-factory-config.diff
%py_requires %py_requires
%description %description
@ -154,6 +155,7 @@ Authors:
%patch60 %patch60
%patch61 %patch61
%patch62 %patch62
%patch63
cp -p %{SOURCE1} . cp -p %{SOURCE1} .
cp -p %{SOURCE2} . cp -p %{SOURCE2} .
cp -p %{SOURCE3} . cp -p %{SOURCE3} .
@ -192,6 +194,8 @@ rm -rf $RPM_BUILD_ROOT
/usr/share/man/man1/rpmlint.1.gz /usr/share/man/man1/rpmlint.1.gz
%changelog %changelog
* Sat Jun 28 2008 dmueller@suse.de
- also read /etc/rpmlint/factory.config
* Fri Jun 27 2008 dmueller@suse.de * Fri Jun 27 2008 dmueller@suse.de
- fix typo in suse-version check - fix typo in suse-version check
* Mon Jun 23 2008 dmueller@suse.de * Mon Jun 23 2008 dmueller@suse.de

11
suse-factory-config.diff Normal file
View 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: