Merged update from upstream sources

This is an automated DistroBaker update from upstream sources.
If you do not know what this is about or would like to opt out,
contact the OSCI team.

Source: https://src.fedoraproject.org/rpms/libpfm.git#06bbef121d7df66d2b702d5cd2c4ddbb23736efd
This commit is contained in:
DistroBaker 2021-01-23 20:06:49 +00:00
parent 11014b3c8c
commit 02fc299979
1 changed files with 5 additions and 2 deletions

View File

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