BZ1043212

This commit is contained in:
Frank Ch. Eigler 2014-02-19 09:14:57 -05:00
parent 8c4cdaf2d9
commit f21357a6ea
1 changed files with 6 additions and 3 deletions

View File

@ -49,7 +49,7 @@
Name: systemtap
Version: 2.4
Release: 1%{?dist}
Release: 2%{?dist}
# for version, see also configure.ac
@ -591,7 +591,7 @@ fi
# Activate the service
%if %{with_systemd}
/bin/systemctl enable stap-server.service >/dev/null 2>&1 || :
/bin/systemd-tmpfiles --create >/dev/null 2>&1 || :
/bin/systemd-tmpfiles --create %{_tmpfilesdir}/stap-server.conf >/dev/null 2>&1 || :
%else
/sbin/chkconfig --add stap-server
%endif
@ -635,7 +635,7 @@ exit 0
%post initscript
%if %{with_systemd}
/bin/systemctl enable stap-server.service >/dev/null 2>&1 || :
/bin/systemd-tmpfiles --create >/dev/null 2>&1 || :
/bin/systemd-tmpfiles --create %{_tmpfilesdir}/stap-server.conf >/dev/null 2>&1 || :
%else
/sbin/chkconfig --add systemtap
%endif
@ -970,6 +970,9 @@ done
# http://sourceware.org/systemtap/wiki/SystemTapReleases
%changelog
* Wed Feb 19 2014 Frank Ch. Eigler <fche@redhat.com> - 2.4-2
- Backport fix for BZ1043212: use of systemd-tmpfiles --create without PATH
* Wed Nov 06 2013 Frank Ch. Eigler <fche@redhat.com> - 2.4-1
- Upstream release.