From 2d828a1e0715133461f6510dfc3214b8ae5f17e2e47239d312c0d2d5dfddff8e Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Wed, 25 Sep 2013 18:33:03 +0000 Subject: [PATCH] Accepting request 200615 from home:dimstar:branches:GNOME:Factory - Sanitize scrtiplet requirements (bnc#839520): + Add shadow Requires(pre) for useradd and groupadd. + Add coreutils Requires(post) for chown. OBS-URL: https://build.opensuse.org/request/show/200615 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/avahi?expand=0&rev=104 --- avahi-glib2.spec | 4 ++++ avahi-mono.spec | 4 ++++ avahi-qt4.spec | 4 ++++ avahi.changes | 7 +++++++ avahi.spec | 4 ++++ 5 files changed, 23 insertions(+) diff --git a/avahi-glib2.spec b/avahi-glib2.spec index 10d5042..fbdbd66 100644 --- a/avahi-glib2.spec +++ b/avahi-glib2.spec @@ -331,6 +331,10 @@ Group: Productivity/Networking/Other Provides: avahi:%{_sbindir}/avahi-autoipd # File conflict for avahi-autoipd openSUSE <= 12.3 SLE <= 11 Conflicts: avahi <= 0.6.31-9.2 +# coreutils contains /usr/bin/chown +Requires(post): coreutils +# shadow contains useradd and groupadd +Requires(pre): shadow %description autoipd avahi-autoipd is an implementation of Dynamic Configuration of IPv4 diff --git a/avahi-mono.spec b/avahi-mono.spec index 4d3c4cf..61e8307 100644 --- a/avahi-mono.spec +++ b/avahi-mono.spec @@ -330,6 +330,10 @@ Group: Productivity/Networking/Other Provides: avahi:%{_sbindir}/avahi-autoipd # File conflict for avahi-autoipd openSUSE <= 12.3 SLE <= 11 Conflicts: avahi <= 0.6.31-9.2 +# coreutils contains /usr/bin/chown +Requires(post): coreutils +# shadow contains useradd and groupadd +Requires(pre): shadow %description autoipd avahi-autoipd is an implementation of Dynamic Configuration of IPv4 diff --git a/avahi-qt4.spec b/avahi-qt4.spec index 8ece409..58d6b77 100644 --- a/avahi-qt4.spec +++ b/avahi-qt4.spec @@ -333,6 +333,10 @@ Group: Productivity/Networking/Other Provides: avahi:%{_sbindir}/avahi-autoipd # File conflict for avahi-autoipd openSUSE <= 12.3 SLE <= 11 Conflicts: avahi <= 0.6.31-9.2 +# coreutils contains /usr/bin/chown +Requires(post): coreutils +# shadow contains useradd and groupadd +Requires(pre): shadow %description autoipd avahi-autoipd is an implementation of Dynamic Configuration of IPv4 diff --git a/avahi.changes b/avahi.changes index 31d35de..1b28aae 100644 --- a/avahi.changes +++ b/avahi.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Wed Sep 25 17:26:26 UTC 2013 - dimstar@opensuse.org + +- Sanitize scrtiplet requirements (bnc#839520): + + Add shadow Requires(pre) for useradd and groupadd. + + Add coreutils Requires(post) for chown. + ------------------------------------------------------------------- Sat Sep 21 14:30:30 UTC 2013 - dimstar@opensuse.org diff --git a/avahi.spec b/avahi.spec index a104987..2339738 100644 --- a/avahi.spec +++ b/avahi.spec @@ -333,6 +333,10 @@ Group: Productivity/Networking/Other Provides: avahi:%{_sbindir}/avahi-autoipd # File conflict for avahi-autoipd openSUSE <= 12.3 SLE <= 11 Conflicts: avahi <= 0.6.31-9.2 +# coreutils contains /usr/bin/chown +Requires(post): coreutils +# shadow contains useradd and groupadd +Requires(pre): shadow %description autoipd avahi-autoipd is an implementation of Dynamic Configuration of IPv4