parent
3904a08978
commit
99daa3aba9
@ -80,26 +80,19 @@ rm -rf %{buildroot}
|
|||||||
%{_mandir}/man8/gssproxy.8*
|
%{_mandir}/man8/gssproxy.8*
|
||||||
|
|
||||||
%post
|
%post
|
||||||
if [ $1 -eq 1 ] ; then
|
%systemd_post gssproxy.service
|
||||||
# Initial installation
|
|
||||||
/bin/systemctl daemon-reload >/dev/null 2>&1 || :
|
|
||||||
fi
|
|
||||||
|
|
||||||
%preun
|
%preun
|
||||||
if [ $1 -eq 0 ] ; then
|
%systemd_preun gssproxy.service
|
||||||
# Package removal, not upgrade
|
|
||||||
/bin/systemctl --no-reload disable gssproxy.service > /dev/null 2>&1 || :
|
|
||||||
/bin/systemctl stop gssproxy.service > /dev/null 2>&1 || :
|
|
||||||
fi
|
|
||||||
|
|
||||||
%postun
|
%postun
|
||||||
/bin/systemctl daemon-reload >/dev/null 2>&1 || :
|
%systemd_postun_with_restart gssproxy.service
|
||||||
if [ $1 -ge 1 ] ; then
|
|
||||||
# Package upgrade, not uninstall
|
|
||||||
/bin/systemctl try-restart gssproxy.service >/dev/null 2>&1 || :
|
|
||||||
fi
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Aug 22 2012 Guenther Deschner <gdeschner@redhat.com> 0.0.2-6
|
||||||
|
- Use new systemd-rpm macros
|
||||||
|
- resolves: #850139
|
||||||
|
|
||||||
* Wed Jul 18 2012 Guenther Deschner <gdeschner@redhat.com> 0.0.2-5
|
* Wed Jul 18 2012 Guenther Deschner <gdeschner@redhat.com> 0.0.2-5
|
||||||
- More spec file fixes
|
- More spec file fixes
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user