Update to 4.13.0
This commit is contained in:
parent
7c953f4605
commit
c51caec5e0
Binary file not shown.
BIN
libpfm-4.13.0.tar.gz
Normal file
BIN
libpfm-4.13.0.tar.gz
Normal file
Binary file not shown.
13
libpfm.spec
13
libpfm.spec
@ -2,8 +2,8 @@
|
|||||||
%define python_prefix %(python3 -c "import sys; print (sys.prefix)")
|
%define python_prefix %(python3 -c "import sys; print (sys.prefix)")
|
||||||
|
|
||||||
Name: libpfm
|
Name: libpfm
|
||||||
Version: 4.11.0
|
Version: 4.13.0
|
||||||
Release: 2
|
Release: 1
|
||||||
Summary: A user library help setup performance events for use with the perf_events Linux kernel interface.
|
Summary: A user library help setup performance events for use with the perf_events Linux kernel interface.
|
||||||
License: MIT
|
License: MIT
|
||||||
URL: http://perfmon2.sourceforge.net/
|
URL: http://perfmon2.sourceforge.net/
|
||||||
@ -12,7 +12,7 @@ Source0: http://sourceforge.net/projects/perfmon2/files/libpfm4/%{name}-%
|
|||||||
|
|
||||||
Patch0001: 0001-libpfm-python3-setup.patch
|
Patch0001: 0001-libpfm-python3-setup.patch
|
||||||
Patch0002: 0002-libpfm-lib-Makefile.patch
|
Patch0002: 0002-libpfm-lib-Makefile.patch
|
||||||
BuildRequires: python3 python3-devel python3-setuptools swig gcc
|
BuildRequires: python3 python3-devel python3-setuptools swig gcc make
|
||||||
|
|
||||||
%description
|
%description
|
||||||
This is a user library called libpfm4 to help setup performance
|
This is a user library called libpfm4 to help setup performance
|
||||||
@ -20,6 +20,7 @@ events for use with the perf_events Linux kernel interface.
|
|||||||
|
|
||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
|
Requires: %{name} = %{version}-%{release}
|
||||||
Provides: %{name}-static = %{version}-%{release}
|
Provides: %{name}-static = %{version}-%{release}
|
||||||
Obsoletes: %{name}-static <= %{version}-%{release}
|
Obsoletes: %{name}-static <= %{version}-%{release}
|
||||||
Summary: Library to provide perf_events in linux
|
Summary: Library to provide perf_events in linux
|
||||||
@ -45,7 +46,8 @@ Man pages and other related documents for %{name}.
|
|||||||
%autosetup -p1
|
%autosetup -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%make_build CONFIG_PFMLIB_NOPYTHON=n
|
%make_build CONFIG_PFMLIB_NOPYTHON=n OPTIM="%{optflags}" LDFLAGS="%{build_ldflags}"
|
||||||
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf $RPM_BUILD_ROOT
|
||||||
@ -73,6 +75,9 @@ make PREFIX=$RPM_BUILD_ROOT%{_prefix} LIBDIR=$RPM_BUILD_ROOT%{_libdir} \
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue May 16 2023 liyanan <thistleslyn@163.com> - 4.13.0-1
|
||||||
|
- update version to 4.13.0
|
||||||
|
|
||||||
* Tue May 09 2023 Jia Chao <jiac13@chinaunicom.cn> - 4.11.0-2
|
* Tue May 09 2023 Jia Chao <jiac13@chinaunicom.cn> - 4.11.0-2
|
||||||
- Fix: help package contains files about architecture, should not be noarch.
|
- Fix: help package contains files about architecture, should not be noarch.
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user