packages: rsyslog/rsyslog.spec - use newer systemd macros - rel. 2
wiget
wiget at pld-linux.org
Sun Dec 4 19:50:26 CET 2011
Author: wiget Date: Sun Dec 4 18:50:26 2011 GMT
Module: packages Tag: HEAD
---- Log message:
- use newer systemd macros
- rel. 2
---- Files affected:
packages/rsyslog:
rsyslog.spec (1.53 -> 1.54)
---- Diffs:
================================================================
Index: packages/rsyslog/rsyslog.spec
diff -u packages/rsyslog/rsyslog.spec:1.53 packages/rsyslog/rsyslog.spec:1.54
--- packages/rsyslog/rsyslog.spec:1.53 Sun Nov 27 15:08:06 2011
+++ packages/rsyslog/rsyslog.spec Sun Dec 4 19:50:21 2011
@@ -18,7 +18,7 @@
Summary(tr.UTF-8): Linux sistem ve çekirdek kayıt süreci
Name: rsyslog
Version: 5.8.6
-Release: 1
+Release: 2
License: GPL v3+
Group: Daemons
Source0: http://www.rsyslog.com/files/download/rsyslog/%{name}-%{version}.tar.gz
@@ -36,6 +36,7 @@
%{?with_pgsql:BuildRequires: postgresql-devel}
BuildRequires: libnet-devel
BuildRequires: gnutls-devel
+BuildRequires: rpmbuild(macros) >= 1.626
Requires(post): fileutils
Requires(post,preun): /sbin/chkconfig
Requires(post,preun): rc-scripts >= 0.2.0
@@ -84,6 +85,7 @@
Summary: systemd units for rsyslog
Group: Daemons
Requires: %{name} = %{version}-%{release}
+Requires: systemd-units >= 37-0.10
%description systemd
systemd units for rsyslog.
@@ -275,6 +277,15 @@
echo "Original file from package is available as /etc/syslog.conf.rpmnew"
fi
+%post systemd
+%systemd_post rsyslog.service
+
+%preun systemd
+%systemd_preun rsyslog.service
+
+%postun systemd
+%systemd_reload
+
%files
%defattr(644,root,root,755)
%doc AUTHORS ChangeLog NEWS README
@@ -374,6 +385,10 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.54 2011/12/04 18:50:21 wiget
+- use newer systemd macros
+- rel. 2
+
Revision 1.53 2011/11/27 14:08:06 wiget
- up to 5.8.6
- enable more modules
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/rsyslog/rsyslog.spec?r1=1.53&r2=1.54&f=u
More information about the pld-cvs-commit
mailing list