[rsyslog/f20] Install the rsyslog-recover-qi.pl tool

Tomas Heinrich theinric at fedoraproject.org
Fri Feb 21 17:16:34 UTC 2014


commit 8cf58317a82ac374c4f8e0335d6002f8bd131ee0
Author: Tomas Heinrich <theinric at redhat.com>
Date:   Tue Jan 7 15:31:38 2014 +0100

    Install the rsyslog-recover-qi.pl tool

 rsyslog.spec |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/rsyslog.spec b/rsyslog.spec
index 71c72dd..0212723 100644
--- a/rsyslog.spec
+++ b/rsyslog.spec
@@ -325,6 +325,9 @@ rm -f %{buildroot}%{_libdir}/rsyslog/*.la
 # get rid of socket activation by default
 sed -i '/^Alias/s/^/;/;/^Requires=syslog.socket/s/^/;/' %{buildroot}%{_unitdir}/rsyslog.service
 
+# convert line endings from "\r\n" to "\n"
+cat tools/recover_qi.pl | tr -d '\r' > %{buildroot}%{_bindir}/rsyslog-recover-qi.pl
+
 %post
 for n in /var/log/{messages,secure,maillog,spooler}
 do
@@ -347,6 +350,7 @@ done
 %dir %{rsyslog_statedir}
 %dir %{rsyslog_pkidir}
 %{_sbindir}/rsyslogd
+%attr(755,root,root) %{_bindir}/rsyslog-recover-qi.pl
 %{_mandir}/*/*
 %{_unitdir}/rsyslog.service
 %config(noreplace) %{_sysconfdir}/rsyslog.conf
@@ -469,6 +473,7 @@ done
 %changelog
 * Thu Feb 20 2014 Tomas Heinrich <theinric at redhat.com> 7.4.8-1
 - rebase to 7.4.8
+- install the rsyslog-recover-qi.pl tool
 - fix a typo in a package description
 
 * Sun Aug 04 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 7.4.2-2


More information about the scm-commits mailing list