diff --git a/amanda.spec b/amanda.spec index 73f8e9c..1fa5b50 100644 --- a/amanda.spec +++ b/amanda.spec @@ -128,16 +128,10 @@ server also needs to have the amanda-client package installed. %prep %autosetup -p1 -n %{name}-tag-community-%{version} -# Create a sysusers.d config file -cat >amanda.sysusers.conf </dev/null 2>&1 || : +/usr/bin/gpasswd -a %amanda_user tape >/dev/null 2>&1 || : %post %{?ldconfig} @@ -303,7 +294,6 @@ make check %attr(600,%amanda_user,%amanda_group) %config(noreplace) %{_localstatedir}/lib/amanda/.amandahosts %attr(02770,%amanda_user,%amanda_group) %dir /var/log/amanda %attr(02770,%amanda_user,%amanda_group) %dir /var/log/amanda/amandad -%{_sysusersdir}/amanda.conf %files libs %{_libdir}/libamdevice*.so