diff --git a/papi.spec b/papi.spec index 0791ff97d505d14aa1c5e6489cf9c5ba03c7118b..178b32674008b39616802ccee96661cb3d2e095e 100644 --- a/papi.spec +++ b/papi.spec @@ -1,8 +1,5 @@ -%define anolis_release .0.2 +%define anolis_release .0.3 # Default to no static libraries -%ifarch sw_64 -%define with_static 1 -%endif %{!?with_static: %global with_static 0} %bcond_with bundled_libpfm # rdma is not available @@ -45,6 +42,10 @@ BuildRequires: gcc-gfortran BuildRequires: kernel-headers >= 2.6.32 BuildRequires: chrpath BuildRequires: lm_sensors-devel +%ifarch sw_64 +BuildRequires: automake +BuildRequires: autoconf +%endif %if %{without bundled_libpfm} BuildRequires: libpfm-devel >= 4.13.0-1 %if %{with_static} @@ -113,7 +114,13 @@ the PAPI user-space libraries and interfaces. %patch31 -p1 %patch40 -p1 %patch1000 -p1 + +%ifarch sw_64 %patch1001 -p1 +pushd src +autoreconf -fiv +popd +%endif %build @@ -206,6 +213,9 @@ chrpath --delete $RPM_BUILD_ROOT%{_libdir}/*.so* %endif %changelog +* Fri Aug 9 2024 Weisson - 6.0.0-15.0.3 +- Remove static lib for sw_64. + * Tue Mar 26 2024 Weisson - 6.0.0-15.0.2 - cherry-pick `add sw arch #8df28831ab9ee0af53d8fa394c9f5cd1863d6e7d`. - cherry-pick `explicitly disable static lib #266b8d83eb0812ae4dca5661e9491329cd0d3111`.