rebuild with only python3 [release 5.1-2mamba;Mon May 13 2024]
This commit is contained in:
parent
40538289a9
commit
33077767a4
119
systemtap.spec
119
systemtap.spec
@ -1,25 +1,11 @@
|
|||||||
%define with_boost 1
|
|
||||||
%ifnarch arm
|
|
||||||
%define with_crash 1
|
|
||||||
%else
|
|
||||||
%define with_crash 0
|
|
||||||
%endif
|
|
||||||
%define with_docs 0
|
%define with_docs 0
|
||||||
%if "%{stage1}" != "1"
|
|
||||||
%define with_grapher 1
|
|
||||||
%else
|
|
||||||
%define with_grapher 0
|
|
||||||
%endif
|
|
||||||
%define with_pie 1
|
|
||||||
%define with_rpm 1
|
|
||||||
%define with_sqlite 1
|
|
||||||
%if %with_docs
|
%if %with_docs
|
||||||
%define with_publican 0
|
%define with_publican 0
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
Name: systemtap
|
Name: systemtap
|
||||||
Version: 5.0
|
Version: 5.1
|
||||||
Release: 1mamba
|
Release: 2mamba
|
||||||
Summary: An instrumentation system for Linux systems
|
Summary: An instrumentation system for Linux systems
|
||||||
Group: System/Tools
|
Group: System/Tools
|
||||||
Vendor: openmamba
|
Vendor: openmamba
|
||||||
@ -40,7 +26,6 @@ BuildRequires: libncurses-devel
|
|||||||
BuildRequires: libnspr-devel
|
BuildRequires: libnspr-devel
|
||||||
BuildRequires: libnss-devel
|
BuildRequires: libnss-devel
|
||||||
BuildRequires: libperl
|
BuildRequires: libperl
|
||||||
BuildRequires: libpython27-devel
|
|
||||||
BuildRequires: libpython311-devel
|
BuildRequires: libpython311-devel
|
||||||
BuildRequires: libreadline-devel
|
BuildRequires: libreadline-devel
|
||||||
BuildRequires: librpm-devel
|
BuildRequires: librpm-devel
|
||||||
@ -53,23 +38,12 @@ BuildRequires: perl-HTML-Parser
|
|||||||
BuildRequires: perl-devel
|
BuildRequires: perl-devel
|
||||||
## AUTOBUILDREQ-END
|
## AUTOBUILDREQ-END
|
||||||
BuildRequires: librpm-devel >= 4.16.1.2-1mamba
|
BuildRequires: librpm-devel >= 4.16.1.2-1mamba
|
||||||
#%if %with_grapher
|
|
||||||
#BuildRequires: libglademm-devel
|
|
||||||
#BuildRequires: libgtkmm-devel
|
|
||||||
#%endif
|
|
||||||
BuildRequires: libnss-tools
|
BuildRequires: libnss-tools
|
||||||
%if %with_boost
|
|
||||||
BuildRequires: libboost-devel
|
|
||||||
%endif
|
|
||||||
%if %with_crash
|
|
||||||
BuildRequires: crash-devel
|
BuildRequires: crash-devel
|
||||||
BuildRequires: libz-devel
|
BuildRequires: libz-devel
|
||||||
Requires: crash
|
Requires: crash
|
||||||
%endif
|
|
||||||
BuildRequires: pkgconfig
|
BuildRequires: pkgconfig
|
||||||
%if %with_rpm
|
|
||||||
BuildRequires: rpm-devel
|
BuildRequires: rpm-devel
|
||||||
%endif
|
|
||||||
# docs
|
# docs
|
||||||
%if %with_docs
|
%if %with_docs
|
||||||
BuildRequires: ghostscript
|
BuildRequires: ghostscript
|
||||||
@ -95,7 +69,6 @@ Developers can write instrumentation to collect data on the operation of the sys
|
|||||||
Group: System/Tools
|
Group: System/Tools
|
||||||
Summary: Instrumentation System Client
|
Summary: Instrumentation System Client
|
||||||
Requires: %{name}-runtime = %{?epoch:%epoch:}%{version}-%{release}
|
Requires: %{name}-runtime = %{?epoch:%epoch:}%{version}-%{release}
|
||||||
#Requires: avahi
|
|
||||||
Requires: coreutils
|
Requires: coreutils
|
||||||
Requires: libnss
|
Requires: libnss
|
||||||
Requires: libnss-tools
|
Requires: libnss-tools
|
||||||
@ -103,7 +76,6 @@ Requires: libnss-tools
|
|||||||
%description client
|
%description client
|
||||||
SystemTap client is the client component of an instrumentation system for systems running Linux 2.6. Developers can write instrumentation to collect data on the operation of the system.
|
SystemTap client is the client component of an instrumentation system for systems running Linux 2.6. Developers can write instrumentation to collect data on the operation of the system.
|
||||||
|
|
||||||
%if %with_grapher
|
|
||||||
%package grapher
|
%package grapher
|
||||||
Summary: Instrumentation System Grapher
|
Summary: Instrumentation System Grapher
|
||||||
Group: System/Tools
|
Group: System/Tools
|
||||||
@ -111,13 +83,11 @@ Requires: %{name}-runtime = %{?epoch:%epoch:}%{version}-%{release}
|
|||||||
|
|
||||||
%description grapher
|
%description grapher
|
||||||
SystemTap grapher is a utility for real-time visualization of data from SystemTap instrumentation scripts.
|
SystemTap grapher is a utility for real-time visualization of data from SystemTap instrumentation scripts.
|
||||||
%endif
|
|
||||||
|
|
||||||
%package runtime
|
%package runtime
|
||||||
Group: System/Tools
|
Group: System/Tools
|
||||||
Summary: Instrumentation System Runtime
|
Summary: Instrumentation System Runtime
|
||||||
Requires: kernelheaders
|
Requires: kernelheaders
|
||||||
#Requires: shadow
|
|
||||||
|
|
||||||
%description runtime
|
%description runtime
|
||||||
SystemTap runtime is the runtime component of an instrumentation system for systems running Linux 2.6. Developers can write instrumentation to collect data on the operation of the system.
|
SystemTap runtime is the runtime component of an instrumentation system for systems running Linux 2.6. Developers can write instrumentation to collect data on the operation of the system.
|
||||||
@ -178,11 +148,9 @@ Python bindings to Systemtap.
|
|||||||
|
|
||||||
%build
|
%build
|
||||||
%configure \
|
%configure \
|
||||||
%if %with_crash
|
--with-python3 \
|
||||||
|
--without-python2-probes \
|
||||||
--enable-crash \
|
--enable-crash \
|
||||||
%else
|
|
||||||
--disable-crash \
|
|
||||||
%endif
|
|
||||||
%if %with_docs
|
%if %with_docs
|
||||||
--enable-docs \
|
--enable-docs \
|
||||||
%if %with_publican
|
%if %with_publican
|
||||||
@ -192,31 +160,12 @@ Python bindings to Systemtap.
|
|||||||
%else
|
%else
|
||||||
--disable-docs \
|
--disable-docs \
|
||||||
%endif
|
%endif
|
||||||
%if %with_sqlite
|
|
||||||
--enable-sqlite \
|
--enable-sqlite \
|
||||||
%else
|
|
||||||
--disable-sqlite \
|
|
||||||
%endif
|
|
||||||
%if %with_rpm
|
|
||||||
--with-rpm \
|
--with-rpm \
|
||||||
%else
|
|
||||||
--without-rpm \
|
|
||||||
%endif
|
|
||||||
%if %with_pie
|
|
||||||
--enable-pie \
|
--enable-pie \
|
||||||
%else
|
|
||||||
--disable-pie \
|
|
||||||
%endif
|
|
||||||
%if %with_grapher
|
|
||||||
--enable-grapher \
|
--enable-grapher \
|
||||||
%else
|
|
||||||
--disable-grapher \
|
|
||||||
%endif
|
|
||||||
--disable-silent-rules \
|
--disable-silent-rules \
|
||||||
CXXFLAGS="%{optflags} -Wno-dangling-pointer" \
|
CXXFLAGS="%{optflags} -Wno-dangling-pointer"
|
||||||
%ifarch arm
|
|
||||||
CPPFLAGS="%{optflags} -Wno-error=ignored-qualifiers"
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%make
|
%make
|
||||||
|
|
||||||
@ -234,15 +183,6 @@ install -c -m 755 stap-prep %{buildroot}%{_bindir}/stap-prep
|
|||||||
|
|
||||||
cp -rp testsuite %{buildroot}%{_datadir}/systemtap
|
cp -rp testsuite %{buildroot}%{_datadir}/systemtap
|
||||||
|
|
||||||
#mkdir -p %{buildroot}%{_sysconfdir}//rc.d/init.d/
|
|
||||||
#install -m 755 initscript/systemtap %{buildroot}%{_sysconfdir}/rc.d/init.d/
|
|
||||||
#mkdir -p %{buildroot}%{_sysconfdir}/systemtap
|
|
||||||
#mkdir -p %{buildroot}%{_sysconfdir}/systemtap/conf.d
|
|
||||||
#mkdir -p %{buildroot}%{_sysconfdir}/systemtap/script.d
|
|
||||||
#install -m 644 initscript/config.systemtap %{buildroot}%{_sysconfdir}/systemtap/config
|
|
||||||
#mkdir -p %{buildroot}%{_localstatedir}/cache/systemtap
|
|
||||||
#mkdir -p %{buildroot}%{_localstatedir}/run/systemtap
|
|
||||||
|
|
||||||
%if %with_docs
|
%if %with_docs
|
||||||
mkdir docs.installed
|
mkdir docs.installed
|
||||||
mv %{buildroot}%{_datadir}/doc/systemtap/*.pdf docs.installed/
|
mv %{buildroot}%{_datadir}/doc/systemtap/*.pdf docs.installed/
|
||||||
@ -332,10 +272,6 @@ fi
|
|||||||
%dir %{_datadir}/systemtap/runtime/linux
|
%dir %{_datadir}/systemtap/runtime/linux
|
||||||
%{_datadir}/systemtap/runtime/linux/*.c
|
%{_datadir}/systemtap/runtime/linux/*.c
|
||||||
%{_datadir}/systemtap/runtime/linux/*.h
|
%{_datadir}/systemtap/runtime/linux/*.h
|
||||||
%dir %attr(0775,root,stap-server) %{_datadir}/systemtap/runtime/linux/uprobes
|
|
||||||
%{_datadir}/systemtap/runtime/linux/uprobes/*
|
|
||||||
%dir %{_datadir}/systemtap/runtime/linux/uprobes2
|
|
||||||
%{_datadir}/systemtap/runtime/linux/uprobes2/*
|
|
||||||
%{_datadir}/systemtap/tapset
|
%{_datadir}/systemtap/tapset
|
||||||
%{_mandir}/man1/stap*.1*
|
%{_mandir}/man1/stap*.1*
|
||||||
%{_mandir}/man3/stap*.3stap*
|
%{_mandir}/man3/stap*.3stap*
|
||||||
@ -348,44 +284,13 @@ fi
|
|||||||
%lang(cs) %{_mandir}/cs/man*/
|
%lang(cs) %{_mandir}/cs/man*/
|
||||||
%doc AUTHORS COPYING
|
%doc AUTHORS COPYING
|
||||||
|
|
||||||
#%files client
|
|
||||||
#%defattr(-,root,root)
|
|
||||||
#%{_bindir}/stap-client
|
|
||||||
#%{_libexecdir}/systemtap/stap-find-servers
|
|
||||||
#%{_libexecdir}/systemtap/stap-client-connect
|
|
||||||
#%{_mandir}/man8/stap-client.8.gz
|
|
||||||
|
|
||||||
#%if %with_grapher
|
|
||||||
#%files grapher
|
|
||||||
#%defattr(-,root,root)
|
|
||||||
#%{_bindir}/stapgraph
|
|
||||||
#%{_datadir}/systemtap/*.glade
|
|
||||||
#%{_mandir}/man1/stapgraph.1.gz
|
|
||||||
#%endif
|
|
||||||
|
|
||||||
#%files initscript
|
|
||||||
#%defattr(-,root,root)
|
|
||||||
#%{_sysconfdir}/rc.d/init.d/systemtap
|
|
||||||
#%dir %{_sysconfdir}/systemtap
|
|
||||||
#%dir %{_sysconfdir}/systemtap/conf.d
|
|
||||||
#%dir %{_sysconfdir}/systemtap/script.d
|
|
||||||
#%config(noreplace) %{_sysconfdir}/systemtap/config
|
|
||||||
#%dir %{_localstatedir}/cache/systemtap
|
|
||||||
#%dir %{_localstatedir}/run/systemtap
|
|
||||||
|
|
||||||
%files runtime
|
%files runtime
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%attr(4111,root,root) %{_bindir}/staprun
|
%attr(4111,root,root) %{_bindir}/staprun
|
||||||
#%{_bindir}/stap-authorize-server-cert
|
|
||||||
#%{_bindir}/stap-authorize-signing-cert
|
|
||||||
%{_libexecdir}/systemtap/stapio
|
%{_libexecdir}/systemtap/stapio
|
||||||
%{_libexecdir}/systemtap/stap-env
|
%{_libexecdir}/systemtap/stap-env
|
||||||
%{_libexecdir}/systemtap/stap-authorize-cert
|
%{_libexecdir}/systemtap/stap-authorize-cert
|
||||||
%if %with_crash
|
|
||||||
%{_libdir}/systemtap/staplog.so*
|
%{_libdir}/systemtap/staplog.so*
|
||||||
%endif
|
|
||||||
#%{_mandir}/man8/stap-authorize-server-cert.8.gz
|
|
||||||
#%{_mandir}/man8/stap-authorize-signing-cert.8.gz
|
|
||||||
%{_mandir}/man8/staprun.8*
|
%{_mandir}/man8/staprun.8*
|
||||||
|
|
||||||
%files sdt-devel
|
%files sdt-devel
|
||||||
@ -417,7 +322,6 @@ fi
|
|||||||
|
|
||||||
%files server
|
%files server
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
#%{_sysconfdir}/rc.d/init.d/stap-server
|
|
||||||
%config(noreplace) %{_sysconfdir}/logrotate.d/stap-server
|
%config(noreplace) %{_sysconfdir}/logrotate.d/stap-server
|
||||||
%dir %{_sysconfdir}/stap-server
|
%dir %{_sysconfdir}/stap-server
|
||||||
%dir %{_sysconfdir}/stap-server/conf.d
|
%dir %{_sysconfdir}/stap-server/conf.d
|
||||||
@ -425,10 +329,7 @@ fi
|
|||||||
%{_libexecdir}/systemtap/stap-serverd
|
%{_libexecdir}/systemtap/stap-serverd
|
||||||
%{_libexecdir}/systemtap/stap-start-server
|
%{_libexecdir}/systemtap/stap-start-server
|
||||||
%{_libexecdir}/systemtap/stap-stop-server
|
%{_libexecdir}/systemtap/stap-stop-server
|
||||||
#%{_libexecdir}/systemtap/stap-find-servers
|
|
||||||
#%{_libexecdir}/systemtap/stap-find-or-start-server
|
|
||||||
%{_libexecdir}/systemtap/stap-gen-cert
|
%{_libexecdir}/systemtap/stap-gen-cert
|
||||||
#%{_libexecdir}/systemtap/stap-server-connect
|
|
||||||
%{_libexecdir}/systemtap/stap-sign-module
|
%{_libexecdir}/systemtap/stap-sign-module
|
||||||
%config(noreplace) %{_sysconfdir}/sysconfig/stap-server
|
%config(noreplace) %{_sysconfdir}/sysconfig/stap-server
|
||||||
%dir %attr(0755,stap-server,stap-server) %{_localstatedir}/log/stap-server
|
%dir %attr(0755,stap-server,stap-server) %{_localstatedir}/log/stap-server
|
||||||
@ -444,10 +345,6 @@ fi
|
|||||||
|
|
||||||
%files -n python-systemtap
|
%files -n python-systemtap
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%dir %{python27_sitearch}/HelperSDT-*-py2.7.egg-info
|
|
||||||
%{python27_sitearch}/HelperSDT-*-py2.7.egg-info/*
|
|
||||||
%dir %{python27_sitearch}/HelperSDT
|
|
||||||
%{python27_sitearch}/HelperSDT/*
|
|
||||||
%dir %{python3_sitearch}/HelperSDT-*-py3.*.egg-info
|
%dir %{python3_sitearch}/HelperSDT-*-py3.*.egg-info
|
||||||
%{python3_sitearch}/HelperSDT-0.1.0-py3.*.egg-info/*
|
%{python3_sitearch}/HelperSDT-0.1.0-py3.*.egg-info/*
|
||||||
%dir %{python3_sitearch}/HelperSDT
|
%dir %{python3_sitearch}/HelperSDT
|
||||||
@ -455,6 +352,12 @@ fi
|
|||||||
%{_libexecdir}/systemtap/python/stap-resolve-module-function.py
|
%{_libexecdir}/systemtap/python/stap-resolve-module-function.py
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon May 13 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 5.1-2mamba
|
||||||
|
- rebuild with only python3
|
||||||
|
|
||||||
|
* Sun May 12 2024 Automatic Build System <autodist@openmamba.org> 5.1-1mamba
|
||||||
|
- automatic version update by autodist
|
||||||
|
|
||||||
* Tue Nov 21 2023 Automatic Build System <autodist@mambasoft.it> 5.0-1mamba
|
* Tue Nov 21 2023 Automatic Build System <autodist@mambasoft.it> 5.0-1mamba
|
||||||
- automatic version update by autodist
|
- automatic version update by autodist
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user