Accepting request 735295 from home:mgorse:branches:devel:tools

- Moved the dtrace binary into a separate package to resolve build
  cycle with glib2 (bsc#1145438).

OBS-URL: https://build.opensuse.org/request/show/735295
OBS-URL: https://build.opensuse.org/package/show/devel:tools/systemtap?expand=0&rev=114
This commit is contained in:
Martin Pluskal
2019-10-10 08:16:08 +00:00
committed by Git OBS Bridge
parent 9dd402c963
commit dcdde06c8f
4 changed files with 71 additions and 1 deletions

View File

@@ -46,6 +46,7 @@ BuildRequires: pkgconfig
BuildRequires: python3-base
BuildRequires: sqlite-devel
BuildRequires: pkgconfig(systemd)
Requires: %{name}-dtrace = %{version}-%{release}
Requires: %{name}-runtime = %{version}-%{release}
Requires: libebl1
Obsoletes: systemtap-client < 1.5
@@ -105,6 +106,7 @@ make %{?_smp_mflags} V=1
%install
%make_install
rm -f %{buildroot}%{_bindir}/dtrace
rm -f %{buildroot}%{_libexecdir}/systemtap/stap-server-request
# README, AUTHORS, NEWS, man3 and all examples packaged by systemtap-docs
# COPYING needs to stay in main for GPL
@@ -174,6 +176,5 @@ install -m 644 %{SOURCE5} %{buildroot}%{_libexecdir}/tmpfiles.d
%files sdt-devel
%defattr(-,root,root)
%{_includedir}/sys/*.h
%{_bindir}/dtrace
%changelog