From edff7f0c7de1eff3ab3c4f6268d6f494c2b5cbfd62d63d406c3d87c8d4c219fe Mon Sep 17 00:00:00 2001 From: Jiri Slaby Date: Thu, 24 Nov 2011 13:00:00 +0000 Subject: [PATCH 1/3] 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 --- systemtap.changes | 5 +++++ systemtap.spec | 6 ++++++ 2 files changed, 11 insertions(+) diff --git a/systemtap.changes b/systemtap.changes index 48bbb7d..5561357 100644 --- a/systemtap.changes +++ b/systemtap.changes @@ -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 diff --git a/systemtap.spec b/systemtap.spec index 4861c0b..066fa49 100644 --- a/systemtap.spec +++ b/systemtap.spec @@ -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 From 2ba91ca781b76b462be9fba8f174bf4e02fc740e946c8529a444ed0e0efc6aaa Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Wed, 21 Dec 2011 11:20:22 +0000 Subject: [PATCH 2/3] Accepting request 97562 from home:coolo:removeautoconf add autoconf to buildrequires (forwarded request 97546 from coolo) OBS-URL: https://build.opensuse.org/request/show/97562 OBS-URL: https://build.opensuse.org/package/show/devel:tools/systemtap?expand=0&rev=40 --- systemtap-docs.changes | 5 +++++ systemtap-docs.spec | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/systemtap-docs.changes b/systemtap-docs.changes index 2b7424f..8def6b9 100644 --- a/systemtap-docs.changes +++ b/systemtap-docs.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Dec 21 10:44:28 UTC 2011 - coolo@suse.com + +- add autoconf as buildrequire to avoid implicit dependency + ------------------------------------------------------------------- Wed Nov 2 10:54:46 CET 2011 - jslaby@suse.de diff --git a/systemtap-docs.spec b/systemtap-docs.spec index 90435fa..dabffb0 100644 --- a/systemtap-docs.spec +++ b/systemtap-docs.spec @@ -19,7 +19,7 @@ Name: systemtap-docs -BuildRequires: gcc-c++ libebl-devel pkg-config +BuildRequires: gcc-c++ libebl-devel pkg-config autoconf # for documents BuildRequires: xmlto BuildRequires: fop From 1935f2268c3f7ec0e0302f6bfa7267fc0b1c39b9aa810789c4246f6e812bf7e2 Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Wed, 21 Dec 2011 11:21:19 +0000 Subject: [PATCH 3/3] prepare_spec OBS-URL: https://build.opensuse.org/package/show/devel:tools/systemtap?expand=0&rev=41 --- systemtap-docs.spec | 11 ++++++----- systemtap.spec | 23 +++++++++++------------ 2 files changed, 17 insertions(+), 17 deletions(-) diff --git a/systemtap-docs.spec b/systemtap-docs.spec index dabffb0..4ace077 100644 --- a/systemtap-docs.spec +++ b/systemtap-docs.spec @@ -15,19 +15,20 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # -# norootforbuild - Name: systemtap-docs -BuildRequires: gcc-c++ libebl-devel pkg-config autoconf +BuildRequires: autoconf +BuildRequires: gcc-c++ +BuildRequires: libebl-devel +BuildRequires: pkg-config # for documents BuildRequires: xmlto BuildRequires: fop BuildRequires: latex2html -License: GPLv2+ Version: 1.6 -Release: 5 +Release: 0 Summary: Documents and examples for systemtap +License: GPL-2.0+ Group: Development/Tools/Debuggers Url: http://sourceware.org/systemtap/ Source: systemtap-%{version}.tar.bz2 diff --git a/systemtap.spec b/systemtap.spec index 066fa49..4f928f1 100644 --- a/systemtap.spec +++ b/systemtap.spec @@ -15,17 +15,22 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # -# norootforbuild - 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: gcc-c++ +BuildRequires: glib2-devel +BuildRequires: libcap-devel +BuildRequires: libebl-devel +BuildRequires: mozilla-nspr-devel +BuildRequires: mozilla-nss-devel +BuildRequires: mozilla-nss-tools +BuildRequires: pkg-config +BuildRequires: sqlite-devel BuildRequires: systemd -License: GPLv2+ Version: 1.6 -Release: 8 +Release: 0 Summary: Instrumentation System +License: GPL-2.0+ Group: Development/Tools/Debuggers Url: http://sourceware.org/systemtap/ Source: systemtap-%{version}.tar.bz2 @@ -41,8 +46,6 @@ Developers can write instrumentation to collect data on the operation of the system. %package runtime -License: GPLv2+ -Group: Development/Tools/Debuggers Summary: Runtime environment for systemtap %description runtime @@ -50,8 +53,6 @@ SystemTap is an instrumentation system for systems running Linux. This package contains the runtime environment for systemtap programs. %package server -License: GPLv2+ -Group: Development/Tools/Debuggers Summary: Systemtap server Requires: %{name} = %{version}-%{release} Requires(post): /bin/systemd-tmpfiles @@ -63,8 +64,6 @@ SystemTap is an instrumentation system for systems running Linux. This package contains the server component of systemtap. %package sdt-devel -License: GPLv2+ -Group: Development/Tools/Debuggers Summary: Static probe support tools Requires: %{name} = %{version}-%{release} Requires: python-base