SHA256
1
0
forked from pool/systemtap

Accepting request 234471 from home:coolo:branches:openSUSE:Factory

- use %_rundir if available

OBS-URL: https://build.opensuse.org/request/show/234471
OBS-URL: https://build.opensuse.org/package/show/devel:tools/systemtap?expand=0&rev=71
This commit is contained in:
Stephan Kulow 2014-05-18 04:48:20 +00:00 committed by Git OBS Bridge
parent e00aa353b8
commit 4bd731b286
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

View File

@ -42,6 +42,10 @@ Requires: %{name}-runtime = %{version}-%{release}
Requires: libebl1
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%if ! %{defined _rundir}
%define _rundir %{_localstatedir}/run
%endif
%description
SystemTap is an instrumentation system for systems running Linux.
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
%{_mandir}/man8/stap-server.8*
%ghost %{_localstatedir}/log/stap-server.log
%ghost %dir %{_localstatedir}/run/stap-server
%ghost %dir %{_rundir}/stap-server
%files sdt-devel
%defattr(-,root,root)