diff --git a/ly.spec.rpkg b/ly.spec.rpkg index f09b036..f73e5ba 100644 --- a/ly.spec.rpkg +++ b/ly.spec.rpkg @@ -45,7 +45,7 @@ chmod -x %{buildroot}/etc/ly/config.ini chmod -x %{buildroot}/etc/ly/lang/* %post -semodule -n -i %{_datadir}/selinux/packages/ly.pp +semodule -n -i /usr/share/selinux/packages/ly.pp if /usr/sbin/selinuxenabled ; then /usr/sbin/load_policy %relabel_files diff --git a/makefile b/makefile index ae52cb0..061b469 100644 --- a/makefile +++ b/makefile @@ -93,8 +93,8 @@ installnoconf: $(BIND)/$(NAME) @install -DZ $(RESD)/pam.d/ly -m 644 -t ${DESTDIR}/etc/pam.d installselinux: - echo "installing selinux modules" - make -f /usr/share/selinux/devel/Makefile ly.pp + @echo "installing selinux modules" + @make -f /usr/share/selinux/devel/Makefile ly.pp @install -DZ ly.pp ${DESTDIR}/usr/share/selinux/packages/ly.pp uninstall: