diff --git a/radvd.spec b/radvd.spec index 7b16030..7be3cce 100644 --- a/radvd.spec +++ b/radvd.spec @@ -5,7 +5,7 @@ Summary: A Router Advertisement daemon Name: radvd Version: 1.6 -Release: 1%{?dist} +Release: 2%{?dist} # The code includes the advertising clause, so it's GPL-incompatible License: BSD with advertising Group: System Environment/Daemons @@ -74,8 +74,10 @@ if [ $1 = 0 ]; then fi %pre - -/usr/sbin/useradd -c "radvd user" -r -M -s /sbin/nologin -u %{RADVD_UID} -d / radvd 2>/dev/null || : +getent group radvd >/dev/null || groupadd -g %RADVD_UID -r radvd +getent passwd radvd >/dev/null || \ + useradd -r -u %RADVD_UID -g radvd -d / -s /sbin/nologin -c "radvd user" radvd +exit 0 %files %defattr(-,root,root,-) @@ -90,6 +92,9 @@ fi %{_sbindir}/radvdump %changelog +* Fri May 21 2010 Jiri Skala - 1.6-2 +- ensure fax group id == fax user id + * Mon Mar 29 2010 Jiri Skala - 1.6-1 - update to latest upstream version