From 348882c77e277dbcdc6bac28b50dc2648e48778f6a578ed12180cefc98bcf263 Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Fri, 7 Aug 2020 07:39:25 +0000 Subject: [PATCH 1/2] Accepting request 824074 from GNOME:Next OBS-URL: https://build.opensuse.org/request/show/824074 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/avahi?expand=0&rev=174 --- avahi-glib2.spec | 2 +- avahi-mono.spec | 2 +- avahi.changes | 5 +++++ avahi.spec | 2 +- 4 files changed, 8 insertions(+), 3 deletions(-) diff --git a/avahi-glib2.spec b/avahi-glib2.spec index b95e898..e9f2626 100644 --- a/avahi-glib2.spec +++ b/avahi-glib2.spec @@ -650,7 +650,7 @@ getent passwd avahi-autoipd >/dev/null || \ %post autoipd %{fillup_only -ns avahi autoipd} # Change ownership of /var/lib/avahi-autoipd after upgrade from openSUSE <= 12.3 and SLE <= 11. -find %{_localstatedir}/lib/avahi-autoipd -user avahi |xargs -r0 chown avahi-autoipd:avahi-autoipd +find %{_localstatedir}/lib/avahi-autoipd -user avahi -print0 |xargs -r0 chown avahi-autoipd:avahi-autoipd %post -n libavahi-client3 -p /sbin/ldconfig %postun -n libavahi-client3 -p /sbin/ldconfig diff --git a/avahi-mono.spec b/avahi-mono.spec index 7e34884..7ccfb6d 100644 --- a/avahi-mono.spec +++ b/avahi-mono.spec @@ -650,7 +650,7 @@ getent passwd avahi-autoipd >/dev/null || \ %post autoipd %{fillup_only -ns avahi autoipd} # Change ownership of /var/lib/avahi-autoipd after upgrade from openSUSE <= 12.3 and SLE <= 11. -find %{_localstatedir}/lib/avahi-autoipd -user avahi |xargs -r0 chown avahi-autoipd:avahi-autoipd +find %{_localstatedir}/lib/avahi-autoipd -user avahi -print0 |xargs -r0 chown avahi-autoipd:avahi-autoipd %post -n libavahi-client3 -p /sbin/ldconfig %postun -n libavahi-client3 -p /sbin/ldconfig diff --git a/avahi.changes b/avahi.changes index 5f604e2..0b98e03 100644 --- a/avahi.changes +++ b/avahi.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Jul 31 16:22:16 UTC 2020 - Michael Gorse + +- Pass -print0 to find, to match -r0 being passed to xargs. + ------------------------------------------------------------------- Thu Jul 30 10:06:28 UTC 2020 - Dominique Leuenberger diff --git a/avahi.spec b/avahi.spec index fb0dd62..0e4c5e7 100644 --- a/avahi.spec +++ b/avahi.spec @@ -645,7 +645,7 @@ getent passwd avahi-autoipd >/dev/null || \ %post autoipd %{fillup_only -ns avahi autoipd} # Change ownership of /var/lib/avahi-autoipd after upgrade from openSUSE <= 12.3 and SLE <= 11. -find %{_localstatedir}/lib/avahi-autoipd -user avahi |xargs -r0 chown avahi-autoipd:avahi-autoipd +find %{_localstatedir}/lib/avahi-autoipd -user avahi -print0 |xargs -r0 chown avahi-autoipd:avahi-autoipd %post -n libavahi-client3 -p /sbin/ldconfig %postun -n libavahi-client3 -p /sbin/ldconfig From 39b524941c6713d77f90585d1b04a031765dfcb5941cdf52a237155ed826cf30 Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Fri, 7 Aug 2020 08:16:23 +0000 Subject: [PATCH 2/2] Accepting request 824809 from home:jengelh:branches:GNOME:Factory - Skip the xargs dance and just use find directly. - Skip the xargs dance and just use find directly. - Skip the xargs dance and just use find directly. OBS-URL: https://build.opensuse.org/request/show/824809 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/avahi?expand=0&rev=175 --- avahi-glib2.changes | 5 +++++ avahi-glib2.spec | 2 +- avahi-mono.changes | 5 +++++ avahi-mono.spec | 2 +- avahi.changes | 5 +++++ avahi.spec | 2 +- 6 files changed, 18 insertions(+), 3 deletions(-) diff --git a/avahi-glib2.changes b/avahi-glib2.changes index 0015f61..58c8337 100644 --- a/avahi-glib2.changes +++ b/avahi-glib2.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Aug 6 07:59:00 UTC 2020 - Jan Engelhardt + +- Skip the xargs dance and just use find directly. + ------------------------------------------------------------------- Wed Jan 8 10:17:38 UTC 2020 - Martin Liška diff --git a/avahi-glib2.spec b/avahi-glib2.spec index e9f2626..491ce3e 100644 --- a/avahi-glib2.spec +++ b/avahi-glib2.spec @@ -650,7 +650,7 @@ getent passwd avahi-autoipd >/dev/null || \ %post autoipd %{fillup_only -ns avahi autoipd} # Change ownership of /var/lib/avahi-autoipd after upgrade from openSUSE <= 12.3 and SLE <= 11. -find %{_localstatedir}/lib/avahi-autoipd -user avahi -print0 |xargs -r0 chown avahi-autoipd:avahi-autoipd +find %{_localstatedir}/lib/avahi-autoipd -user avahi -exec chown avahi-autoipd:avahi-autoipd {} + %post -n libavahi-client3 -p /sbin/ldconfig %postun -n libavahi-client3 -p /sbin/ldconfig diff --git a/avahi-mono.changes b/avahi-mono.changes index 249e336..66c60bd 100644 --- a/avahi-mono.changes +++ b/avahi-mono.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Aug 6 07:59:00 UTC 2020 - Jan Engelhardt + +- Skip the xargs dance and just use find directly. + ------------------------------------------------------------------- Wed Jan 8 10:17:46 UTC 2020 - Martin Liška diff --git a/avahi-mono.spec b/avahi-mono.spec index 7ccfb6d..f147d10 100644 --- a/avahi-mono.spec +++ b/avahi-mono.spec @@ -650,7 +650,7 @@ getent passwd avahi-autoipd >/dev/null || \ %post autoipd %{fillup_only -ns avahi autoipd} # Change ownership of /var/lib/avahi-autoipd after upgrade from openSUSE <= 12.3 and SLE <= 11. -find %{_localstatedir}/lib/avahi-autoipd -user avahi -print0 |xargs -r0 chown avahi-autoipd:avahi-autoipd +find %{_localstatedir}/lib/avahi-autoipd -user avahi -exec chown avahi-autoipd:avahi-autoipd {} + %post -n libavahi-client3 -p /sbin/ldconfig %postun -n libavahi-client3 -p /sbin/ldconfig diff --git a/avahi.changes b/avahi.changes index 0b98e03..3d63910 100644 --- a/avahi.changes +++ b/avahi.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Aug 6 07:59:00 UTC 2020 - Jan Engelhardt + +- Skip the xargs dance and just use find directly. + ------------------------------------------------------------------- Fri Jul 31 16:22:16 UTC 2020 - Michael Gorse diff --git a/avahi.spec b/avahi.spec index 0e4c5e7..bf10dec 100644 --- a/avahi.spec +++ b/avahi.spec @@ -645,7 +645,7 @@ getent passwd avahi-autoipd >/dev/null || \ %post autoipd %{fillup_only -ns avahi autoipd} # Change ownership of /var/lib/avahi-autoipd after upgrade from openSUSE <= 12.3 and SLE <= 11. -find %{_localstatedir}/lib/avahi-autoipd -user avahi -print0 |xargs -r0 chown avahi-autoipd:avahi-autoipd +find %{_localstatedir}/lib/avahi-autoipd -user avahi -exec chown avahi-autoipd:avahi-autoipd {} + %post -n libavahi-client3 -p /sbin/ldconfig %postun -n libavahi-client3 -p /sbin/ldconfig