From f9cc794009446a74d4f124355883b0f8031a737e8b516c5712ee7570fec13a3c Mon Sep 17 00:00:00 2001 From: Marcus Meissner Date: Wed, 13 Sep 2017 20:10:50 +0000 Subject: [PATCH] Accepting request 525933 from home:AndreasSchwab:f - Pre-require group(%{utmpGroup}) OBS-URL: https://build.opensuse.org/request/show/525933 OBS-URL: https://build.opensuse.org/package/show/Base:System/utempter?expand=0&rev=29 --- utempter.changes | 5 +++++ utempter.spec | 5 ++++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/utempter.changes b/utempter.changes index 3294d0c..6fc5332 100644 --- a/utempter.changes +++ b/utempter.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Sep 13 19:43:32 UTC 2017 - schwab@linux-m68k.org + +- Pre-require group(%{utmpGroup}) + ------------------------------------------------------------------- Thu Nov 13 16:13:17 UTC 2014 - tchvatal@suse.com diff --git a/utempter.spec b/utempter.spec index 26cdda1..9731622 100644 --- a/utempter.spec +++ b/utempter.spec @@ -1,7 +1,7 @@ # # spec file for package utempter # -# Copyright (c) 2014 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 @@ -51,6 +51,9 @@ package contains the development files needed. Summary: Shared library of utempter Group: Development/Libraries/C and C++ Requires(post): permissions +%if 0%{?suse_version} >= 1330 +Requires(pre): group(%{utmpGroup}) +%endif Provides: %{name} = %{version} Obsoletes: %{name} < 0.5.6