3
0
forked from pool/systemtap

Accepting request 234491 from devel:tools

- use %_rundir if available (forwarded request 234471 from coolo)

OBS-URL: https://build.opensuse.org/request/show/234491
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/systemtap?expand=0&rev=87
This commit is contained in:
Stephan Kulow 2014-05-22 18:38:21 +00:00 committed by Git OBS Bridge
commit caa74e7410
2 changed files with 10 additions and 1 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Sat May 17 19:34:40 UTC 2014 - coolo@suse.com
- use %_rundir if available
------------------------------------------------------------------- -------------------------------------------------------------------
Fri May 2 19:48:19 UTC 2014 - tonyj@suse.com Fri May 2 19:48:19 UTC 2014 - tonyj@suse.com

View File

@ -42,6 +42,10 @@ Requires: %{name}-runtime = %{version}-%{release}
Requires: libebl1 Requires: libebl1
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
%if ! %{defined _rundir}
%define _rundir %{_localstatedir}/run
%endif
%description %description
SystemTap is an instrumentation system for systems running Linux. SystemTap is an instrumentation system for systems running Linux.
Developers can write instrumentation to collect data on the operation Developers can write instrumentation to collect data on the operation
@ -154,7 +158,7 @@ systemd-tmpfiles --create /usr/lib/tmpfiles.d/stap-server.conf
%{_libexecdir}/%{name}/stap-stop-server %{_libexecdir}/%{name}/stap-stop-server
%{_mandir}/man8/stap-server.8* %{_mandir}/man8/stap-server.8*
%ghost %{_localstatedir}/log/stap-server.log %ghost %{_localstatedir}/log/stap-server.log
%ghost %dir %{_localstatedir}/run/stap-server %ghost %dir %{_rundir}/stap-server
%files sdt-devel %files sdt-devel
%defattr(-,root,root) %defattr(-,root,root)