Accepting request 93304 from home:a_jaeger:branches:openSUSE:Factory
Create tmpfiles during new install. OBS-URL: https://build.opensuse.org/request/show/93304 OBS-URL: https://build.opensuse.org/package/show/devel:tools/systemtap?expand=0&rev=39
This commit is contained in:
parent
9c9e046f85
commit
edff7f0c7d
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Nov 23 14:30:33 CET 2011 - aj@suse.de
|
||||
|
||||
- Create tmpfiles during new install.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Nov 2 10:54:26 CET 2011 - jslaby@suse.de
|
||||
|
||||
|
@ -21,6 +21,7 @@
|
||||
Name: systemtap
|
||||
BuildRequires: gcc-c++ glib2-devel libcap-devel libebl-devel pkg-config sqlite-devel
|
||||
BuildRequires: mozilla-nspr-devel mozilla-nss-devel mozilla-nss-tools
|
||||
BuildRequires: systemd
|
||||
License: GPLv2+
|
||||
Version: 1.6
|
||||
Release: 8
|
||||
@ -53,6 +54,7 @@ License: GPLv2+
|
||||
Group: Development/Tools/Debuggers
|
||||
Summary: Systemtap server
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
Requires(post): /bin/systemd-tmpfiles
|
||||
# dependancies for systemtap shell scripts
|
||||
Requires: coreutils avahi avahi-utils mozilla-nss-tools zip unzip
|
||||
|
||||
@ -100,6 +102,10 @@ install -m 644 %SOURCE3 $RPM_BUILD_ROOT/usr/lib/tmpfiles.d
|
||||
%clean
|
||||
rm -rf ${RPM_BUILD_ROOT}
|
||||
|
||||
%post server
|
||||
# Create tmpfiles
|
||||
/bin/systemd-tmpfiles --create /usr/lib/tmpfiles.d/stap-server.conf
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%{_bindir}/stap
|
||||
|
Loading…
Reference in New Issue
Block a user