Fix license field. Fix systemd macros in scriptlets part of the specfile.
This commit is contained in:
parent
e44b6db31e
commit
6c1de80a0b
20
at.spec
20
at.spec
@ -3,8 +3,9 @@
|
|||||||
Summary: Job spooling tools
|
Summary: Job spooling tools
|
||||||
Name: at
|
Name: at
|
||||||
Version: 3.1.13
|
Version: 3.1.13
|
||||||
Release: 9%{dist}
|
Release: 10%{dist}
|
||||||
License: GPLv2+
|
# parsetime.pl is under ISC
|
||||||
|
License: GPLv2+ and ISC
|
||||||
Group: System Environment/Daemons
|
Group: System Environment/Daemons
|
||||||
URL: http://ftp.debian.org/debian/pool/main/a/at
|
URL: http://ftp.debian.org/debian/pool/main/a/at
|
||||||
Source: http://ftp.debian.org/debian/pool/main/a/at/at_%{version}.orig.tar.gz
|
Source: http://ftp.debian.org/debian/pool/main/a/at/at_%{version}.orig.tar.gz
|
||||||
@ -139,18 +140,13 @@ make test
|
|||||||
touch %{_localstatedir}/spool/at/.SEQ
|
touch %{_localstatedir}/spool/at/.SEQ
|
||||||
chmod 600 %{_localstatedir}/spool/at/.SEQ
|
chmod 600 %{_localstatedir}/spool/at/.SEQ
|
||||||
chown daemon:daemon %{_localstatedir}/spool/at/.SEQ
|
chown daemon:daemon %{_localstatedir}/spool/at/.SEQ
|
||||||
/bin/systemctl enable atd.service >/dev/null 2>&1 || :
|
%systemd_post atd.service
|
||||||
|
|
||||||
%preun
|
%preun
|
||||||
if [ "$1" = "0" ] ; then
|
%systemd_preun atd.service
|
||||||
/bin/systemctl disable atd.service >/dev/null 2>&1 || :
|
|
||||||
/bin/systemctl stop atd.service > /dev/null 2>&1 || :
|
|
||||||
fi
|
|
||||||
|
|
||||||
%postun
|
%postun
|
||||||
if [ "$1" -ge "1" ]; then
|
%systemd_postun_with_restart atd.service
|
||||||
/bin/systemctl try-restart atd.service >/dev/null 2>&1 || :
|
|
||||||
fi
|
|
||||||
|
|
||||||
%triggerun -- at < 3.1.12-6
|
%triggerun -- at < 3.1.12-6
|
||||||
# Save the current service runlevel info
|
# Save the current service runlevel info
|
||||||
@ -189,6 +185,10 @@ fi
|
|||||||
%attr(0755,root,root) %{_initrddir}/atd
|
%attr(0755,root,root) %{_initrddir}/atd
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Nov 1 2012 Marcela Mašláňová <mmaslano@redhat.com> - 3.1.13-10
|
||||||
|
- fix license field
|
||||||
|
- fix systemd macros in scriptlets part of the specfile
|
||||||
|
|
||||||
* Fri Jul 27 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.1.13-9
|
* Fri Jul 27 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.1.13-9
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user