Accepting request 738186 from devel:tools
- Do not require exact version of systemtap-dtrace as build counters are not same for different packages - Moved the dtrace binary into a separate package to resolve build cycle with glib2 (bsc#1145438). - Moved the dtrace binary into a separate package to resolve build cycle with glib2 (bsc#1145438). OBS-URL: https://build.opensuse.org/request/show/738186 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/systemtap?expand=0&rev=106
This commit is contained in:
commit
d891d4978a
@ -22,7 +22,7 @@ Release: 0
|
|||||||
Summary: Documents and examples for systemtap
|
Summary: Documents and examples for systemtap
|
||||||
License: GPL-2.0-or-later
|
License: GPL-2.0-or-later
|
||||||
Group: Development/Tools/Debuggers
|
Group: Development/Tools/Debuggers
|
||||||
Url: https://sourceware.org/systemtap/
|
URL: https://sourceware.org/systemtap/
|
||||||
Source0: https://sourceware.org/systemtap/ftp/releases/systemtap-%{version}.tar.gz
|
Source0: https://sourceware.org/systemtap/ftp/releases/systemtap-%{version}.tar.gz
|
||||||
Source1: https://sourceware.org/systemtap/ftp/releases/systemtap-%{version}.tar.gz.asc
|
Source1: https://sourceware.org/systemtap/ftp/releases/systemtap-%{version}.tar.gz.asc
|
||||||
Source2: systemtap.keyring
|
Source2: systemtap.keyring
|
||||||
|
5
systemtap-dtrace.changes
Normal file
5
systemtap-dtrace.changes
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Sep 27 15:07:24 UTC 2019 - Michael Gorse <mgorse@suse.com>
|
||||||
|
|
||||||
|
- Moved the dtrace binary into a separate package to resolve build
|
||||||
|
cycle with glib2 (bsc#1145438).
|
57
systemtap-dtrace.spec
Normal file
57
systemtap-dtrace.spec
Normal file
@ -0,0 +1,57 @@
|
|||||||
|
#
|
||||||
|
# spec file for package systemtap-dtrace
|
||||||
|
#
|
||||||
|
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||||
|
#
|
||||||
|
# All modifications and additions to the file contributed by third parties
|
||||||
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
|
# upon. The license for this file, and modifications and additions to the
|
||||||
|
# file, is the same license as for the pristine package itself (unless the
|
||||||
|
# license for the pristine package is not an Open Source License, in which
|
||||||
|
# case the license is the MIT License). An "Open Source License" is a
|
||||||
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
|
# published by the Open Source Initiative.
|
||||||
|
|
||||||
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||||
|
#
|
||||||
|
|
||||||
|
|
||||||
|
%if ! %{defined _rundir}
|
||||||
|
%define _rundir %{_localstatedir}/run
|
||||||
|
%endif
|
||||||
|
Name: systemtap-dtrace
|
||||||
|
Version: 4.1
|
||||||
|
Release: 0
|
||||||
|
Summary: SystemTap dtrace utility
|
||||||
|
License: GPL-2.0-or-later
|
||||||
|
Group: Development/Tools/Debuggers
|
||||||
|
URL: http://sourceware.org/systemtap/
|
||||||
|
Source0: http://sourceware.org/systemtap/ftp/releases/systemtap-%{version}.tar.gz
|
||||||
|
Source1: http://sourceware.org/systemtap/ftp/releases/systemtap-%{version}.tar.gz.asc
|
||||||
|
Source2: systemtap.keyring
|
||||||
|
Source3: README-BEFORE-ADDING-PATCHES
|
||||||
|
Source4: README-KEYRING
|
||||||
|
BuildArch: noarch
|
||||||
|
|
||||||
|
%description
|
||||||
|
SystemTap is an instrumentation system for systems running Linux.
|
||||||
|
This package contains the dtrace utility to build provider and probe
|
||||||
|
definitions.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q -n systemtap-%{version}
|
||||||
|
|
||||||
|
%build
|
||||||
|
# Our binutils always support '?' in the section characters on all
|
||||||
|
# architectures, no need for configure tests
|
||||||
|
sed s=@preferred_python@=%{_bindir}/python3= dtrace.in |sed s=@prefix@=%{_prefix}= >dtrace
|
||||||
|
|
||||||
|
%install
|
||||||
|
mkdir -p %{buildroot}%{_bindir}
|
||||||
|
install -m 755 dtrace %{buildroot}%{_bindir}
|
||||||
|
|
||||||
|
%files
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{_bindir}/dtrace
|
||||||
|
|
||||||
|
%changelog
|
@ -29,7 +29,7 @@ Release: 0
|
|||||||
Summary: SystemTap headers
|
Summary: SystemTap headers
|
||||||
License: GPL-2.0-or-later
|
License: GPL-2.0-or-later
|
||||||
Group: Development/Tools/Debuggers
|
Group: Development/Tools/Debuggers
|
||||||
Url: http://sourceware.org/systemtap/
|
URL: http://sourceware.org/systemtap/
|
||||||
Source0: https://sourceware.org/systemtap/ftp/releases/systemtap-%{version}.tar.gz
|
Source0: https://sourceware.org/systemtap/ftp/releases/systemtap-%{version}.tar.gz
|
||||||
Source1: https://sourceware.org/systemtap/ftp/releases/systemtap-%{version}.tar.gz.asc
|
Source1: https://sourceware.org/systemtap/ftp/releases/systemtap-%{version}.tar.gz.asc
|
||||||
Source2: systemtap.keyring
|
Source2: systemtap.keyring
|
||||||
|
@ -1,3 +1,15 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Oct 14 07:32:43 UTC 2019 - Martin Pluskal <mpluskal@suse.com>
|
||||||
|
|
||||||
|
- Do not require exact version of systemtap-dtrace as build
|
||||||
|
counters are not same for different packages
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Sep 30 14:07:44 UTC 2019 - Michael Gorse <mgorse@suse.com>
|
||||||
|
|
||||||
|
- Moved the dtrace binary into a separate package to resolve build
|
||||||
|
cycle with glib2 (bsc#1145438).
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Aug 9 20:06:57 UTC 2019 - Tony Jones <tonyj@suse.com>
|
Fri Aug 9 20:06:57 UTC 2019 - Tony Jones <tonyj@suse.com>
|
||||||
|
|
||||||
|
@ -25,7 +25,7 @@ Release: 0
|
|||||||
Summary: Instrumentation System
|
Summary: Instrumentation System
|
||||||
License: GPL-2.0-or-later
|
License: GPL-2.0-or-later
|
||||||
Group: Development/Tools/Debuggers
|
Group: Development/Tools/Debuggers
|
||||||
Url: https://sourceware.org/systemtap/
|
URL: https://sourceware.org/systemtap/
|
||||||
Source0: https://sourceware.org/systemtap/ftp/releases/systemtap-%{version}.tar.gz
|
Source0: https://sourceware.org/systemtap/ftp/releases/systemtap-%{version}.tar.gz
|
||||||
Source1: https://sourceware.org/systemtap/ftp/releases/systemtap-%{version}.tar.gz.asc
|
Source1: https://sourceware.org/systemtap/ftp/releases/systemtap-%{version}.tar.gz.asc
|
||||||
Source2: %{name}.keyring
|
Source2: %{name}.keyring
|
||||||
@ -46,6 +46,7 @@ BuildRequires: pkgconfig
|
|||||||
BuildRequires: python3-base
|
BuildRequires: python3-base
|
||||||
BuildRequires: sqlite-devel
|
BuildRequires: sqlite-devel
|
||||||
BuildRequires: pkgconfig(systemd)
|
BuildRequires: pkgconfig(systemd)
|
||||||
|
Requires: %{name}-dtrace = %{version}
|
||||||
Requires: %{name}-runtime = %{version}-%{release}
|
Requires: %{name}-runtime = %{version}-%{release}
|
||||||
Requires: libebl1
|
Requires: libebl1
|
||||||
Obsoletes: systemtap-client < 1.5
|
Obsoletes: systemtap-client < 1.5
|
||||||
@ -105,6 +106,7 @@ make %{?_smp_mflags} V=1
|
|||||||
|
|
||||||
%install
|
%install
|
||||||
%make_install
|
%make_install
|
||||||
|
rm -f %{buildroot}%{_bindir}/dtrace
|
||||||
rm -f %{buildroot}%{_libexecdir}/systemtap/stap-server-request
|
rm -f %{buildroot}%{_libexecdir}/systemtap/stap-server-request
|
||||||
# README, AUTHORS, NEWS, man3 and all examples packaged by systemtap-docs
|
# README, AUTHORS, NEWS, man3 and all examples packaged by systemtap-docs
|
||||||
# COPYING needs to stay in main for GPL
|
# COPYING needs to stay in main for GPL
|
||||||
@ -174,6 +176,5 @@ install -m 644 %{SOURCE5} %{buildroot}%{_libexecdir}/tmpfiles.d
|
|||||||
%files sdt-devel
|
%files sdt-devel
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_includedir}/sys/*.h
|
%{_includedir}/sys/*.h
|
||||||
%{_bindir}/dtrace
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user