From 0e07293a0f180820386604f97c1549f4c90b87ee7bef616378b09ac8f6f8d180 Mon Sep 17 00:00:00 2001 From: Thorsten Kukuk Date: Mon, 6 Nov 2017 15:05:24 +0000 Subject: [PATCH] Accepting request 534911 from home:Andreas_Schwab:Factory - Prerequire group(shadow), user(root) OBS-URL: https://build.opensuse.org/request/show/534911 OBS-URL: https://build.opensuse.org/package/show/Linux-PAM/pam?expand=0&rev=171 --- pam.changes | 5 +++++ pam.spec | 6 +++++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/pam.changes b/pam.changes index 5f454d8..12fd874 100644 --- a/pam.changes +++ b/pam.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Oct 12 08:55:29 UTC 2017 - schwab@suse.de + +- Prerequire group(shadow), user(root) + ------------------------------------------------------------------- Fri Jan 27 10:35:29 UTC 2017 - josef.moellers@suse.com diff --git a/pam.spec b/pam.spec index 4daf31d..8f068b6 100644 --- a/pam.spec +++ b/pam.spec @@ -1,7 +1,7 @@ # # spec file for package pam # -# Copyright (c) 2017 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -42,6 +42,10 @@ Summary: A Security Tool that Provides Authentication for Applications License: GPL-2.0+ or BSD-3-Clause Group: System/Libraries PreReq: permissions +%if 0%{?suse_version} >= 1330 +Requires(pre): group(shadow) +Requires(pre): user(root) +%endif #DL-URL: https://fedorahosted.org/releases/l/i/linux-pam/ Source: Linux-PAM-%{version}.tar.bz2