SHA256
1
0
forked from pool/rpmlint

Accepting request 439379 from devel:openSUSE:Factory:rpmlint

1

OBS-URL: https://build.opensuse.org/request/show/439379
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/rpmlint?expand=0&rev=260
This commit is contained in:
Dominique Leuenberger 2016-11-11 13:30:21 +00:00 committed by Git OBS Bridge
commit b0beb8f87b
4 changed files with 65 additions and 0 deletions

View File

@ -0,0 +1,29 @@
From 4565372c418433d3d8ff47e59924791f62a20b3a Mon Sep 17 00:00:00 2001
From: Jimmy Berry <jberry@suse.com>
Date: Tue, 25 Oct 2016 13:27:06 -0500
Subject: [PATCH 1/2] Update varrun test for Leap 42.2 severity reduction.
---
tests/varrun.ref | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/tests/varrun.ref b/tests/varrun.ref
index 9982344..6b0d28a 100644
--- a/tests/varrun.ref
+++ b/tests/varrun.ref
@@ -1,6 +1,6 @@
-varrun: E: non-ghost-in-run (Badness: 10000) /run/bar
-varrun: E: non-ghost-in-run (Badness: 10000) /run/lock/foo
-varrun: E: dir-or-file-in-var-run (Badness: 10000) /var/run
-varrun: E: dir-or-file-in-var-run (Badness: 10000) /var/run/bar
-varrun: E: dir-or-file-in-var-lock (Badness: 10000) /var/lock/foo
-1 packages and 0 specfiles checked; 5 errors, 0 warnings.
+varrun: W: non-ghost-in-run /run/bar
+varrun: W: non-ghost-in-run /run/lock/foo
+varrun: W: dir-or-file-in-var-run /var/run
+varrun: W: dir-or-file-in-var-run /var/run/bar
+varrun: W: dir-or-file-in-var-lock /var/lock/foo
+1 packages and 0 specfiles checked; 0 errors, 5 warnings.
--
2.10.1

View File

@ -0,0 +1,23 @@
From c2785ac67339fa3253b03bd98f6939d4017c45fd Mon Sep 17 00:00:00 2001
From: Jimmy Berry <jberry@suse.com>
Date: Tue, 25 Oct 2016 13:29:08 -0500
Subject: [PATCH 2/2] Update license1 test for Leap 42.2 severity reduction.
---
tests/license1.ref | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/tests/license1.ref b/tests/license1.ref
index ba3db25..2c7299d 100644
--- a/tests/license1.ref
+++ b/tests/license1.ref
@@ -1,3 +1,3 @@
-license1: E: invalid-license (Badness: 100000) GPLv2+
-license1: E: invalid-license (Badness: 100000) BSD-2-Clause ; BSL-1.0
-1 packages and 0 specfiles checked; 2 errors, 0 warnings.
+license1: W: invalid-license GPLv2+
+license1: W: invalid-license BSD-2-Clause ; BSL-1.0
+1 packages and 0 specfiles checked; 0 errors, 2 warnings.
--
2.10.1

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Tue Oct 25 18:32:52 UTC 2016 - jberry@suse.com
- Patch lint severity reductions for >= Leap 42.2:
0001-Update-varrun-test-for-Leap-42.2-severity-reduction.patch
0002-Update-license1-test-for-Leap-42.2-severity-reductio.patch
-------------------------------------------------------------------
Mon Jul 25 14:27:40 UTC 2016 - lnussel@suse.de

View File

@ -31,6 +31,8 @@ Group: Development/Tools/Building
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Url: http://www.opensuse.org/
Source: rpmlint-tests-%version.tar.xz
Patch1: 0001-Update-varrun-test-for-Leap-42.2-severity-reduction.patch
Patch2: 0002-Update-license1-test-for-Leap-42.2-severity-reductio.patch
%description
This package doesn't actually contain any files and is not meant to
@ -39,6 +41,10 @@ regression tests against rpmlint(-mini).
%prep
%setup -q
%if 0%{?sle_version} >= 120200
%patch1 -p1
%patch2 -p1
%endif
%build
mkdir rpms