SHA256
1
0
forked from pool/rpmlint

Accepting request 605823 from devel:openSUSE:Factory:rpmlint

- add rpmlint-tests-sle15.patch to fix rpmlint-tests build for
  sle/leap 15

- Add 'synapse' user and group.

OBS-URL: https://build.opensuse.org/request/show/605823
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/rpmlint?expand=0&rev=294
This commit is contained in:
Dominique Leuenberger 2018-05-10 13:44:47 +00:00 committed by Git OBS Bridge
commit 161841deff
5 changed files with 45 additions and 0 deletions

2
config
View File

@ -468,6 +468,7 @@ setOption('StandardGroups', (
'sshd', 'sshd',
'suse-ncc', 'suse-ncc',
'svn', 'svn',
'synapse',
'sys', 'sys',
'systemd-journal', 'systemd-journal',
'systemd-journal-gateway', 'systemd-journal-gateway',
@ -650,6 +651,7 @@ setOption('StandardUsers', (
'statd', 'statd',
'suse-ncc', 'suse-ncc',
'svn', 'svn',
'synapse',
'systemd-journal-gateway' 'systemd-journal-gateway'
'tftp', 'tftp',
'tomcat', 'tomcat',

28
rpmlint-tests-sle15.patch Normal file
View File

@ -0,0 +1,28 @@
From af1ec4e64647ec4b6bf550ba822165c563a40ad6 Mon Sep 17 00:00:00 2001
From: Ludwig Nussel <ludwig.nussel@suse.de>
Date: Wed, 9 May 2018 13:50:54 +0200
Subject: [PATCH] Revert "polkit: adjust reference output to match
corresponding change in rpmlint-checks"
This reverts commit f4dfbdc2cc367245537df410353a64d67cbcc519.
---
tests/polkit.ref | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/tests/polkit.ref b/tests/polkit.ref
index fb214ea..22dd180 100644
--- a/tests/polkit.ref
+++ b/tests/polkit.ref
@@ -1,6 +1,6 @@
polkit: I: polkit-cant-acquire-privilege org.opensuse.test.bar (no:auth_admin:auth_admin)
+polkit: W: polkit-untracked-privilege org.opensuse.test.bar (no:auth_admin:auth_admin)
+polkit: W: polkit-untracked-privilege org.opensuse.test.foo (auth_admin:auth_admin:auth_admin)
polkit: E: polkit-unauthorized-privilege (Badness: 10000) org.opensuse.test.baz (auth_admin:auth_admin:auth_self)
polkit: E: polkit-unauthorized-privilege (Badness: 10000) org.opensuse.test.baz2 (auth_admin:auth_admin:yes)
-polkit: E: polkit-untracked-privilege (Badness: 10000) org.opensuse.test.bar (no:auth_admin:auth_admin)
-polkit: E: polkit-untracked-privilege (Badness: 10000) org.opensuse.test.foo (auth_admin:auth_admin:auth_admin)
-1 packages and 0 specfiles checked; 4 errors, 0 warnings.
+1 packages and 0 specfiles checked; 2 errors, 2 warnings.
--
2.16.3

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed May 9 11:48:47 UTC 2018 - lnussel@suse.de
- add rpmlint-tests-sle15.patch to fix rpmlint-tests build for
sle/leap 15
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Feb 20 14:13:28 UTC 2018 - opensuse-packaging@opensuse.org Tue Feb 20 14:13:28 UTC 2018 - opensuse-packaging@opensuse.org

View File

@ -32,6 +32,7 @@ Group: Development/Tools/Building
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
Url: http://www.opensuse.org/ Url: http://www.opensuse.org/
Source: rpmlint-tests-%version.tar.xz Source: rpmlint-tests-%version.tar.xz
Patch0: rpmlint-tests-sle15.patch
%description %description
This package doesn't actually contain any files and is not meant to This package doesn't actually contain any files and is not meant to
@ -40,6 +41,9 @@ regression tests against rpmlint(-mini).
%prep %prep
%setup -q %setup -q
%if 0%{?sle_version} >= 1500
%patch0 -p1
%endif
%build %build
mkdir rpms mkdir rpms

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri May 4 17:06:53 UTC 2018 - okurz@suse.com
- Add 'synapse' user and group.
------------------------------------------------------------------- -------------------------------------------------------------------
Wed May 2 14:44:59 UTC 2018 - mchandras@suse.de Wed May 2 14:44:59 UTC 2018 - mchandras@suse.de