diff --git a/radvd.spec b/radvd.spec index a6d19e1..edb1db8 100644 --- a/radvd.spec +++ b/radvd.spec @@ -1,7 +1,7 @@ Summary: A Router Advertisement daemon Name: radvd Version: 1.9.2 -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 @@ -68,10 +68,11 @@ install -m 644 %{SOURCE2} ${RPM_BUILD_ROOT}%{_unitdir} %preun %systemd_preun radvd.service +# Static UID and GID defined by /usr/share/doc/setup-*/uidgid %pre -getent group radvd >/dev/null || groupadd -r radvd +getent group radvd >/dev/null || groupadd -r -g 75 radvd getent passwd radvd >/dev/null || \ - useradd -r -g radvd -d / -s /sbin/nologin -c "radvd user" radvd + useradd -r -u 75 -g radvd -d / -s /sbin/nologin -c "radvd user" radvd exit 0 %files @@ -87,6 +88,9 @@ exit 0 %{_sbindir}/radvdump %changelog +* Wed Dec 05 2012 Petr Pisar - 1.9.2-2 +- Create radvd user and and group with ID 75 + * Wed Nov 21 2012 Petr Pisar - 1.9.2-1 - 1.9.2 bump