diff --git a/avahi-glib2.spec b/avahi-glib2.spec index 3f0f217..9ab1ace 100644 --- a/avahi-glib2.spec +++ b/avahi-glib2.spec @@ -910,7 +910,7 @@ rm $RPM_BUILD_ROOT%{_libdir}/pkgconfig/avahi-ui.pc %pre %{_sbindir}/groupadd -r avahi 2> /dev/null || : -%{_sbindir}/useradd -r -o -s /bin/false -c "User for Avahi" -d %{_localstatedir}/run/avahi-daemon -g avahi avahi 2> /dev/null || : +%{_sbindir}/useradd -r -s /bin/false -c "User for Avahi" -d %{_localstatedir}/run/avahi-daemon -g avahi avahi 2> /dev/null || : %if %suse_version >= 1210 %service_add_pre avahi-dnsconfd.service avahi-daemon.service %endif diff --git a/avahi-mono.spec b/avahi-mono.spec index bd7f98f..b3da2f6 100644 --- a/avahi-mono.spec +++ b/avahi-mono.spec @@ -909,7 +909,7 @@ rm $RPM_BUILD_ROOT%{_libdir}/pkgconfig/avahi-ui.pc %pre %{_sbindir}/groupadd -r avahi 2> /dev/null || : -%{_sbindir}/useradd -r -o -s /bin/false -c "User for Avahi" -d %{_localstatedir}/run/avahi-daemon -g avahi avahi 2> /dev/null || : +%{_sbindir}/useradd -r -s /bin/false -c "User for Avahi" -d %{_localstatedir}/run/avahi-daemon -g avahi avahi 2> /dev/null || : %if %suse_version >= 1210 %service_add_pre avahi-dnsconfd.service avahi-daemon.service %endif diff --git a/avahi-qt4.spec b/avahi-qt4.spec index c5458ff..a21e34c 100644 --- a/avahi-qt4.spec +++ b/avahi-qt4.spec @@ -912,7 +912,7 @@ rm $RPM_BUILD_ROOT%{_libdir}/pkgconfig/avahi-ui.pc %pre %{_sbindir}/groupadd -r avahi 2> /dev/null || : -%{_sbindir}/useradd -r -o -s /bin/false -c "User for Avahi" -d %{_localstatedir}/run/avahi-daemon -g avahi avahi 2> /dev/null || : +%{_sbindir}/useradd -r -s /bin/false -c "User for Avahi" -d %{_localstatedir}/run/avahi-daemon -g avahi avahi 2> /dev/null || : %if %suse_version >= 1210 %service_add_pre avahi-dnsconfd.service avahi-daemon.service %endif diff --git a/avahi.changes b/avahi.changes index 36ed62f..b0894aa 100644 --- a/avahi.changes +++ b/avahi.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed Nov 14 09:05:25 UTC 2012 - dimstar@opensuse.org + +- Fix useradd invocation: -o is useless without -u and newer + versions of pwdutils/shadowutils fail on this now. + ------------------------------------------------------------------- Tue Oct 16 11:37:56 UTC 2012 - coolo@suse.com diff --git a/avahi.spec b/avahi.spec index 8a494c9..24f98f6 100644 --- a/avahi.spec +++ b/avahi.spec @@ -912,7 +912,7 @@ rm $RPM_BUILD_ROOT%{_libdir}/pkgconfig/avahi-ui.pc %pre %{_sbindir}/groupadd -r avahi 2> /dev/null || : -%{_sbindir}/useradd -r -o -s /bin/false -c "User for Avahi" -d %{_localstatedir}/run/avahi-daemon -g avahi avahi 2> /dev/null || : +%{_sbindir}/useradd -r -s /bin/false -c "User for Avahi" -d %{_localstatedir}/run/avahi-daemon -g avahi avahi 2> /dev/null || : %if %suse_version >= 1210 %service_add_pre avahi-dnsconfd.service avahi-daemon.service %endif