From 4102b25c8b7a7086e2e2a5c27f54f4d9b0728e4162106f4b2b9a1721a7202eaa Mon Sep 17 00:00:00 2001 From: David Disseldorp Date: Mon, 27 Feb 2017 16:33:47 +0000 Subject: [PATCH] Accepting request 460727 from home:dimstar:Factory Fix build with util-linux change as prepared in Staging:C OBS-URL: https://build.opensuse.org/request/show/460727 OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=551 --- samba.changes | 7 +++++++ samba.spec | 4 ++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/samba.changes b/samba.changes index bf66806..48e2f57 100644 --- a/samba.changes +++ b/samba.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Mon Feb 27 15:30:21 UTC 2017 - dimstar@opensuse.org + +- Change insserv_prereq requires to requires(pre): this is + factually seen not a runtime requirement of samba, but of the + rpm scriptlets. + ------------------------------------------------------------------- Wed Jan 25 17:20:31 UTC 2017 - ddiss@suse.com diff --git a/samba.spec b/samba.spec index c9d92c4..9ec04a6 100644 --- a/samba.spec +++ b/samba.spec @@ -263,7 +263,7 @@ Provides: smbfs Obsoletes: samba-gplv3-client < %{version} Obsoletes: samba-client-gplv2 < %{version} %if 0%{?suse_version} > 0 -Requires: %{?insserv_prereq} +Requires(pre): %{?insserv_prereq} %endif Requires: /sbin/chkconfig Requires: /sbin/ldconfig @@ -417,7 +417,7 @@ Recommends: logrotate Recommends: /usr/sbin/nscd %endif %if 0%{?suse_version} > 0 -Requires: %{?insserv_prereq} +Requires(pre): %{?insserv_prereq} %endif Requires: /sbin/ldconfig Requires: /usr/sbin/groupadd