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