Remove debug info in so library

This commit is contained in:
wang__ge 2024-04-08 15:56:43 +08:00
parent 3fcf8d3968
commit ffbe86b892

View File

@ -1,6 +1,6 @@
Name: pcp Name: pcp
Version: 6.1.1 Version: 6.1.1
Release: 3 Release: 4
Summary: System-level performance monitoring and performance management Summary: System-level performance monitoring and performance management
License: GPL-2.0-or-later AND LGPL-2.1-or-later AND CC-BY-3.0 License: GPL-2.0-or-later AND LGPL-2.1-or-later AND CC-BY-3.0
URL: https://pcp.io URL: https://pcp.io
@ -2049,6 +2049,10 @@ export PYTHON=python%{?default_python}
%configure %{?_with_initd} %{?_with_doc} %{?_with_dstat} %{?_with_ib} %{?_with_statsd} %{?_with_perfevent} %{?_with_bcc} %{?_with_bpf} %{?_with_bpftrace} %{?_with_json} %{?_with_mongodb} %{?_with_snmp} %{?_with_nutcracker} %{?_with_python2} %configure %{?_with_initd} %{?_with_doc} %{?_with_dstat} %{?_with_ib} %{?_with_statsd} %{?_with_perfevent} %{?_with_bcc} %{?_with_bpf} %{?_with_bpftrace} %{?_with_json} %{?_with_mongodb} %{?_with_snmp} %{?_with_nutcracker} %{?_with_python2}
make %{?_smp_mflags} default_pcp make %{?_smp_mflags} default_pcp
pushd src/pmdas/bpf/modules
ls *.so | awk '{print $1}' | for line in `xargs`;do strip $line;done
popd
%install %install
rm -Rf $RPM_BUILD_ROOT rm -Rf $RPM_BUILD_ROOT
BACKDIR=`pwd` BACKDIR=`pwd`
@ -3100,6 +3104,9 @@ fi
%changelog %changelog
* Mon Apr 08 2024 Ge Wang <wang__ge@126.com> - 6.1.1-4
- Remove debug info in so library
* Fri Mar 29 2024 wangkai <13474090681@163.com> - 6.1.1-3 * Fri Mar 29 2024 wangkai <13474090681@163.com> - 6.1.1-3
- Fix CVE-2024-3019 - Fix CVE-2024-3019