From 30622928faa0f2054530675f62a2416359c36f37 Mon Sep 17 00:00:00 2001 From: Tingyin Duan Date: Thu, 22 Aug 2024 00:32:43 +0800 Subject: [PATCH] fix build error on Anolis 23.1 --- libpfm.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/libpfm.spec b/libpfm.spec index 4c76540..b93fffd 100644 --- a/libpfm.spec +++ b/libpfm.spec @@ -1,4 +1,4 @@ -%define anolis_release 1 +%define anolis_release 2 # Default to no static libraries %{!?with_static: %global with_static 1} @@ -114,7 +114,7 @@ rm $RPM_BUILD_ROOT%{_libdir}/lib*.a %files %{_libdir}/lib*.so.* %dir %{abidir} -%{abidir}/_perfmon_int.cpython-310-*-linux-gnu.dump +%{abidir}/_perfmon_int.cpython-31*-*-linux-gnu.dump %{abidir}/libpfm.dump %files devel @@ -136,5 +136,8 @@ rm $RPM_BUILD_ROOT%{_libdir}/lib*.a %doc README %changelog +* Thur Aug 22 2024 tingyin.duan - 4.12.0-2 +- fix rpmbuild error on Anolis 23.1 + * Mon Mar 27 2023 Yuanhong Peng - 4.12.0-1 - Init from upstream -- Gitee