automatic update by autodist [release 4.3-1mamba;Mon Oct 26 2020]

This commit is contained in:
Automatic Build System 2024-01-05 18:20:00 +01:00
parent b860b4bead
commit 8860618009

View File

@ -11,14 +11,14 @@
%define with_grapher 0
%endif
%define with_pie 1
%define with_rpm 0
%define with_rpm 1
%define with_sqlite 1
%if %with_docs
%define with_publican 0
%endif
Name: systemtap
Version: 4.1
Version: 4.3
Release: 1mamba
Summary: An instrumentation system for Linux systems
Group: System/Tools
@ -179,6 +179,8 @@ Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description -n python-systemtap
Python bindings to Systemtap.
%debug_package
%prep
%setup -q
@ -223,16 +225,10 @@ Python bindings to Systemtap.
CPPFLAGS="%{optflags} -Wno-error=ignored-qualifiers"
%endif
# TODO --with-rpm
# specific librpm version... librpm-4.4.so
# checking rpm library API compatibility... no
# checking for RPM... no
# configure: error: No package 'rpm' found
%make
%install
[ "%{buildroot}" != / ] && rm -rf ""
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
#mv %{buildroot}%{_datadir}/doc/systemtap/examples examples
@ -245,14 +241,14 @@ install -c -m 755 stap-prep %{buildroot}%{_bindir}/stap-prep
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
#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
mkdir docs.installed
@ -263,7 +259,7 @@ mv %{buildroot}%{_datadir}/doc/systemtap/SystemTap_Beginners_Guide docs.installe
%endif
%endif
install -m 755 initscript/stap-server %{buildroot}%{_sysconfdir}/rc.d/init.d/
#install -m 755 initscript/stap-server %{buildroot}%{_sysconfdir}/rc.d/init.d/
mkdir -p %{buildroot}%{_sysconfdir}/stap-server
mkdir -p %{buildroot}%{_sysconfdir}/stap-server/conf.d
mkdir -p %{buildroot}%{_sysconfdir}/sysconfig
@ -272,7 +268,7 @@ mkdir -p %{buildroot}%{_localstatedir}/log/stap-server
touch %{buildroot}%{_localstatedir}/log/stap-server/log
mkdir -p %{buildroot}%{_sysconfdir}/logrotate.d
install -m 644 initscript/logrotate.stap-server %{buildroot}%{_sysconfdir}/logrotate.d/stap-server
#
install -d -m 0755 %{buildroot}%{_unitdir}
mv %{buildroot}%{_prefix}/lib/systemd/system/* %{buildroot}%{_unitdir}/
@ -361,15 +357,7 @@ exit 0
%{_bindir}/stapvirt
%{_libexecdir}/systemtap/HelperSDT.jar
%{_libexecdir}/systemtap/stapbm
%ifarch %{ix86}
%{_libexecdir}/systemtap/libHelperSDT_i386.so
%endif
%ifarch arm
%{_libexecdir}/systemtap/libHelperSDT_arm.so
%endif
%ifarch x86_64
%{_libexecdir}/systemtap/libHelperSDT_amd64.so
%endif
%{_libexecdir}/systemtap/libHelperSDT_*.so
%dir %{_datadir}/systemtap
%dir %{_datadir}/systemtap/runtime
%{_datadir}/systemtap/runtime/*.h
@ -409,15 +397,15 @@ exit 0
#%{_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 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
%defattr(-,root,root)
@ -463,7 +451,7 @@ exit 0
%files server
%defattr(-,root,root)
%{_sysconfdir}/rc.d/init.d/stap-server
#%{_sysconfdir}/rc.d/init.d/stap-server
%config(noreplace) %{_sysconfdir}/logrotate.d/stap-server
%dir %{_sysconfdir}/stap-server
%dir %{_sysconfdir}/stap-server/conf.d
@ -480,6 +468,7 @@ exit 0
%dir %attr(0755,stap-server,stap-server) %{_localstatedir}/log/stap-server
%ghost %config %attr(0644,stap-server,stap-server) %{_localstatedir}/log/stap-server/log
%{_mandir}/man7/error::*.7stap*
%{_mandir}/man7/warning::buildid.7stap*
%{_mandir}/man7/warning::debuginfo.7stap*
%{_mandir}/man8/stap-server.8*
@ -493,13 +482,16 @@ exit 0
%{python27_sitearch}/HelperSDT-*-py2.7.egg-info/*
%dir %{python27_sitearch}/HelperSDT
%{python27_sitearch}/HelperSDT/*
%dir %{python3_sitearch}/HelperSDT-*-py3.3.egg-info
%{python3_sitearch}/HelperSDT-0.1.0-py3.3.egg-info/*
%dir %{python3_sitearch}/HelperSDT-*-py3.*.egg-info
%{python3_sitearch}/HelperSDT-0.1.0-py3.*.egg-info/*
%dir %{python3_sitearch}/HelperSDT
%{python3_sitearch}/HelperSDT/*
%{_libexecdir}/systemtap/python/stap-resolve-module-function.py
%changelog
* Mon Oct 26 2020 Automatic Build System <autodist@mambasoft.it> 4.3-1mamba
- automatic update by autodist
* Sat Jul 27 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 4.1-1mamba
- update to 4.1