]> git.pld-linux.org Git - packages/rsyslog.git/commitdiff
- use newer systemd macros auto/th/rsyslog-5_8_6-2
authorArtur Frysiak <artur@frysiak.net>
Sun, 4 Dec 2011 18:50:21 +0000 (18:50 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- rel. 2

Changed files:
    rsyslog.spec -> 1.54

rsyslog.spec

index 883ef7296848c19fb7b18f9019aa5e9548f6b4e6..b48961683b16fc784a2dae20fce955b0540d5f30 100644 (file)
@@ -17,7 +17,7 @@ Summary(pt_BR.UTF-8): Registrador de log do sistema linux
 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
@@ -35,6 +35,7 @@ BuildRequires:        pkgconfig
 %{?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
@@ -83,6 +84,7 @@ początkującego użytkownika.
 Summary:       systemd units for rsyslog
 Group:         Daemons
 Requires:      %{name} = %{version}-%{release}
+Requires:      systemd-units >= 37-0.10
 
 %description systemd
 systemd units for rsyslog.
@@ -274,6 +276,15 @@ if [ -f /etc/syslog.conf.rpmsave ]; then
        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
This page took 0.037134 seconds and 4 git commands to generate.