Compare commits
1 commit
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b0b281aac3 |
1 changed files with 7 additions and 12 deletions
19
ipxripd.spec
19
ipxripd.spec
|
|
@ -1,7 +1,7 @@
|
|||
Summary: IPX RIP/SAP daemon - routing for IPX networks
|
||||
Name: ipxripd
|
||||
Version: 0.8
|
||||
Release: 11%{?dist}
|
||||
Release: 12%{?dist}
|
||||
Group: System Environment/Daemons
|
||||
License: GPLv2+
|
||||
URL: ftp://ftp.ibiblio.org/pub/Linux/system/filesystems/ncpfs/
|
||||
|
|
@ -55,23 +55,15 @@ install -p -m644 %{SOURCE2} $RPM_BUILD_ROOT%{_unitdir}/ipxd.service
|
|||
|
||||
|
||||
%post
|
||||
if [ $1 = 1 ]; then
|
||||
/bin/systemctl daemon-reload >/dev/null 2>&1 || :
|
||||
fi
|
||||
%systemd_post ipxd.service
|
||||
|
||||
|
||||
%preun
|
||||
if [ $1 = 0 ]; then
|
||||
/bin/systemctl --no-reload disable ipxd.service >/dev/null 2>&1 || :
|
||||
/bin/systemctl stop ipxd.service >/dev/null 2>&1 || :
|
||||
fi
|
||||
%systemd_preun ipxd.service
|
||||
|
||||
|
||||
%postun
|
||||
/bin/systemctl daemon-reload >/dev/null 2>&1 || :
|
||||
if [ $1 != 0 ]; then
|
||||
/bin/systemctl try-restart ipxd.service >/dev/null 2>&1 || :
|
||||
fi
|
||||
%systemd_postun_with_restart ipxd.service
|
||||
|
||||
|
||||
|
||||
|
|
@ -89,6 +81,9 @@ rm -rf $RPM_BUILD_ROOT
|
|||
|
||||
|
||||
%changelog
|
||||
* Mon Sep 24 2012 Dmitry Butskoy <Dmitry@Butskoy.name> - 0.8-12
|
||||
- new sustemd-rpm macros (#850169)
|
||||
|
||||
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8-11
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue