forked from pool/systemtap
Accepting request 828932 from home:dimstar:Factory
- Use %{_tmpfilesdir} instead of wrong %{_libexecdir}/tmpfiles.d that just coincidentally happened to match (boo#1174075). OBS-URL: https://build.opensuse.org/request/show/828932 OBS-URL: https://build.opensuse.org/package/show/devel:tools/systemtap?expand=0&rev=126
This commit is contained in:
parent
021aa36757
commit
9dda6bd9ba
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Aug 24 12:13:19 UTC 2020 - Dominique Leuenberger <dimstar@opensuse.org>
|
||||||
|
|
||||||
|
- Use %{_tmpfilesdir} instead of wrong %{_libexecdir}/tmpfiles.d
|
||||||
|
that just coincidentally happened to match (boo#1174075).
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Feb 6 02:02:58 UTC 2020 - Tony Jones <tonyj@suse.com>
|
Thu Feb 6 02:02:58 UTC 2020 - Tony Jones <tonyj@suse.com>
|
||||||
|
|
||||||
|
@ -123,14 +123,14 @@ mkdir -p %{buildroot}%{_localstatedir}/cache/systemtap
|
|||||||
mkdir -p %{buildroot}%{_localstatedir}/log
|
mkdir -p %{buildroot}%{_localstatedir}/log
|
||||||
touch %{buildroot}%{_localstatedir}/log/stap-server.log
|
touch %{buildroot}%{_localstatedir}/log/stap-server.log
|
||||||
# config file for stap-server (/var/run now on tmpfs)
|
# config file for stap-server (/var/run now on tmpfs)
|
||||||
mkdir -p %{buildroot}%{_libexecdir}/tmpfiles.d
|
mkdir -p %{buildroot}%{_tmpfilesdir}
|
||||||
install -m 644 %{SOURCE5} %{buildroot}%{_libexecdir}/tmpfiles.d
|
install -m 644 %{SOURCE5} %{buildroot}%{_tmpfilesdir}
|
||||||
|
|
||||||
%find_lang systemtap
|
%find_lang systemtap
|
||||||
|
|
||||||
%post server
|
%post server
|
||||||
# Create tmpfiles
|
# Create tmpfiles
|
||||||
%tmpfiles_create %{_libexecdir}/tmpfiles.d/stap-server.conf
|
%tmpfiles_create %{_tmpfilesdir}/stap-server.conf
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
@ -164,8 +164,8 @@ install -m 644 %{SOURCE5} %{buildroot}%{_libexecdir}/tmpfiles.d
|
|||||||
|
|
||||||
%files server
|
%files server
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%dir %{_libexecdir}/tmpfiles.d
|
%dir %{_tmpfilesdir}
|
||||||
%{_libexecdir}/tmpfiles.d/stap-server.conf
|
%{_tmpfilesdir}/stap-server.conf
|
||||||
%{_bindir}/stap-server
|
%{_bindir}/stap-server
|
||||||
%{_libexecdir}/%{name}/stap-gen-cert
|
%{_libexecdir}/%{name}/stap-gen-cert
|
||||||
%{_libexecdir}/%{name}/stap-serverd
|
%{_libexecdir}/%{name}/stap-serverd
|
||||||
|
Loading…
Reference in New Issue
Block a user