--- shibboleth.spec.in.orig 2015-07-20 21:31:32.000000000 +0200 +++ shibboleth.spec.in 2015-07-22 17:45:15.000000000 +0200 @@ -71,7 +71,7 @@ %if "%{_vendor}" == "suse" %define pkgdocdir %{_docdir}/shibboleth %else -%define pkgdocdir %{_docdir}/shibboleth-%{version} +%define pkgdocdir %{_docdir}/shibboleth %endif %description @@ -275,14 +275,6 @@ /sbin/ldconfig %endif -# Key generation or ownership fix -cd %{_sysconfdir}/shibboleth -if [ -f sp-key.pem ] ; then - %{__chown} %{runuser}:%{runuser} sp-key.pem sp-cert.pem 2>/dev/null || : -else - /bin/sh ./keygen.sh -b -u %{runuser} -g %{runuser} -fi - # Fix ownership of log files (even on new installs, if they're left from an older one). %{__chown} %{runuser}:%{runuser} %{_localstatedir}/log/shibboleth/* 2>/dev/null || :