Re-enable libpfm-static for time being.

This commit is contained in:
William Cohen 2021-01-23 14:52:27 -05:00
parent fab1ad1b12
commit 06bbef121d

View File

@ -1,5 +1,5 @@
# Default to no static libraries # Default to no static libraries
%{!?with_static: %global with_static 0} %{!?with_static: %global with_static 1}
%bcond_without python %bcond_without python
%if %{with python} %if %{with python}
%define python_sitearch %(python3 -c "from distutils.sysconfig import get_python_lib; print (get_python_lib(1))") %define python_sitearch %(python3 -c "from distutils.sysconfig import get_python_lib; print (get_python_lib(1))")
@ -12,7 +12,7 @@
Name: libpfm Name: libpfm
Version: 4.11.0 Version: 4.11.0
Release: 2%{?dist} Release: 3%{?dist}
Summary: Library to encode performance events for use by perf tool Summary: Library to encode performance events for use by perf tool
@ -124,6 +124,9 @@ rm $RPM_BUILD_ROOT%{_libdir}/lib*.a
%endif %endif
%changelog %changelog
* Sat Jan 23 2021 William Cohen <wcohen@redhat.com> - 4.11.0-3
- Reenable generation of static libraries for time being.
* Fri Jan 22 2021 William Cohen <wcohen@redhat.com> - 4.11.0-2 * Fri Jan 22 2021 William Cohen <wcohen@redhat.com> - 4.11.0-2
- By default disable generation of static libraries - By default disable generation of static libraries