SHA256
1
0
forked from pool/rpmlint

Accepting request 186196 from devel:openSUSE:Factory:rpmlint

- add suse-ignore-specfile-errors.diff:
  ignore specfile-errors

OBS-URL: https://build.opensuse.org/request/show/186196
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/rpmlint?expand=0&rev=196
This commit is contained in:
Stephan Kulow 2013-08-07 18:56:02 +00:00 committed by Git OBS Bridge
commit ecc98d61b6
3 changed files with 22 additions and 0 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Aug 7 10:09:22 UTC 2013 - dmueller@suse.com
- add suse-ignore-specfile-errors.diff:
ignore specfile-errors
-------------------------------------------------------------------
Tue Aug 6 09:21:04 UTC 2013 - dmueller@suse.com

View File

@ -123,6 +123,7 @@ Patch91: suse-manpages-for-rc-scripts.patch
# PATCH-FIX-UPSTREAM: lnussel@suse.de - Fix setgroups error name
Patch92: rpmlint-1.5-Fix-setgroups-error-name.diff
Patch93: xdg-check-exception.diff
Patch94: suse-ignore-specfile-errors.diff
%py_requires
@ -200,6 +201,7 @@ source packages can be checked.
%patch91 -p1
%patch92 -p1
%patch93 -p1
%patch94
cp -p %{SOURCE2} .
# Only move top-level python files
chmod 0755 rpmlint-checks-master/*.py

View File

@ -0,0 +1,14 @@
--- SpecCheck.py
+++ SpecCheck.py
@@ -524,9 +524,8 @@
printWarning(pkg, "patch-not-applied", "Patch%d:" % pnum,
pfile)
- # Rest of the checks require a real spec file
- if not self._spec_file:
- return
+ # Skip rest of the checks
+ return
# We'd like to parse the specfile only once using python bindings,
# but it seems errors from rpmlib get logged to stderr and we can't