Install the rsyslog-recover-qi.pl tool
This commit is contained in:
parent
7f56b62653
commit
cdf2a25d88
@ -325,6 +325,9 @@ rm -f %{buildroot}%{_libdir}/rsyslog/*.la
|
|||||||
# get rid of socket activation by default
|
# get rid of socket activation by default
|
||||||
sed -i '/^Alias/s/^/;/;/^Requires=syslog.socket/s/^/;/' %{buildroot}%{_unitdir}/rsyslog.service
|
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
|
%post
|
||||||
for n in /var/log/{messages,secure,maillog,spooler}
|
for n in /var/log/{messages,secure,maillog,spooler}
|
||||||
do
|
do
|
||||||
@ -347,6 +350,7 @@ done
|
|||||||
%dir %{rsyslog_statedir}
|
%dir %{rsyslog_statedir}
|
||||||
%dir %{rsyslog_pkidir}
|
%dir %{rsyslog_pkidir}
|
||||||
%{_sbindir}/rsyslogd
|
%{_sbindir}/rsyslogd
|
||||||
|
%attr(755,root,root) %{_bindir}/rsyslog-recover-qi.pl
|
||||||
%{_mandir}/*/*
|
%{_mandir}/*/*
|
||||||
%{_unitdir}/rsyslog.service
|
%{_unitdir}/rsyslog.service
|
||||||
%config(noreplace) %{_sysconfdir}/rsyslog.conf
|
%config(noreplace) %{_sysconfdir}/rsyslog.conf
|
||||||
@ -469,6 +473,7 @@ done
|
|||||||
%changelog
|
%changelog
|
||||||
* Mon Jan 06 2014 Tomas Heinrich <theinric@redhat.com> 7.4.7-1
|
* Mon Jan 06 2014 Tomas Heinrich <theinric@redhat.com> 7.4.7-1
|
||||||
- rebase to 7.4.7
|
- rebase to 7.4.7
|
||||||
|
- install the rsyslog-recover-qi.pl tool
|
||||||
- fix a typo in a package description
|
- fix a typo in a package description
|
||||||
|
|
||||||
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 7.4.2-2
|
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 7.4.2-2
|
||||||
|
Loading…
Reference in New Issue
Block a user