fix systemd installation macros [release 2.0.0-2mamba;Thu Nov 06 2014]
This commit is contained in:
parent
b71b1b03ea
commit
64baf9a8b8
17
cups.spec
17
cups.spec
@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
Name: cups
|
Name: cups
|
||||||
Version: 2.0.0
|
Version: 2.0.0
|
||||||
Release: 1mamba
|
Release: 2mamba
|
||||||
Summary: Common UNIX Printing System
|
Summary: Common UNIX Printing System
|
||||||
Group: System/Spooling
|
Group: System/Spooling
|
||||||
Vendor: openmamba
|
Vendor: openmamba
|
||||||
@ -34,15 +34,13 @@ BuildRequires: libavahi-devel
|
|||||||
BuildRequires: libdbus-devel
|
BuildRequires: libdbus-devel
|
||||||
BuildRequires: libe2fs-devel
|
BuildRequires: libe2fs-devel
|
||||||
BuildRequires: libgcc
|
BuildRequires: libgcc
|
||||||
BuildRequires: libgcrypt-devel
|
|
||||||
BuildRequires: libgnutls-devel
|
BuildRequires: libgnutls-devel
|
||||||
BuildRequires: libgpg-error-devel
|
|
||||||
BuildRequires: libkeyutils-devel
|
|
||||||
BuildRequires: libkrb5-devel
|
BuildRequires: libkrb5-devel
|
||||||
|
BuildRequires: libpam-devel
|
||||||
BuildRequires: libstdc++6-devel
|
BuildRequires: libstdc++6-devel
|
||||||
|
BuildRequires: libsystemd-devel
|
||||||
BuildRequires: libusbx-devel
|
BuildRequires: libusbx-devel
|
||||||
BuildRequires: libz-devel
|
BuildRequires: libz-devel
|
||||||
BuildRequires: pam-devel
|
|
||||||
## AUTOBUILDREQ-END
|
## AUTOBUILDREQ-END
|
||||||
Requires: ghostscript >= 8.57
|
Requires: ghostscript >= 8.57
|
||||||
Requires: openssl
|
Requires: openssl
|
||||||
@ -164,12 +162,12 @@ if [ $1 -gt 1 ]; then
|
|||||||
sed -i "s|ErrorPolicy stop-printer|ErrorPolicy retry-job|" %{_sysconfdir}/cups/printers.conf
|
sed -i "s|ErrorPolicy stop-printer|ErrorPolicy retry-job|" %{_sysconfdir}/cups/printers.conf
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
%systemd_post nfs-server
|
%systemd_post cups
|
||||||
:
|
:
|
||||||
|
|
||||||
%preun
|
%preun
|
||||||
# erase
|
# erase
|
||||||
%systemd_preun nfs-server
|
%systemd_preun cups
|
||||||
if [ $1 -eq 0 ]; then
|
if [ $1 -eq 0 ]; then
|
||||||
/usr/sbin/groupdel lp &>/dev/null
|
/usr/sbin/groupdel lp &>/dev/null
|
||||||
/usr/sbin/userdel lp &>/dev/null
|
/usr/sbin/userdel lp &>/dev/null
|
||||||
@ -180,7 +178,7 @@ fi
|
|||||||
:
|
:
|
||||||
|
|
||||||
%postun
|
%postun
|
||||||
%systemd_postun_with_restart nfs-server
|
%systemd_postun_with_restart cups
|
||||||
:
|
:
|
||||||
|
|
||||||
%posttrans
|
%posttrans
|
||||||
@ -284,6 +282,9 @@ fi
|
|||||||
%doc CHANGES.txt README.txt
|
%doc CHANGES.txt README.txt
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Nov 06 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 2.0.0-2mamba
|
||||||
|
- fix systemd installation macros
|
||||||
|
|
||||||
* Thu Oct 02 2014 Automatic Build System <autodist@mambasoft.it> 2.0.0-1mamba
|
* Thu Oct 02 2014 Automatic Build System <autodist@mambasoft.it> 2.0.0-1mamba
|
||||||
- automatic version update by autodist
|
- automatic version update by autodist
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user