diff --git a/libpfm-4.11.0.tar.gz b/libpfm-4.11.0.tar.gz deleted file mode 100644 index d9664d77bc9419119772942d4af8124a690fe820..0000000000000000000000000000000000000000 Binary files a/libpfm-4.11.0.tar.gz and /dev/null differ diff --git a/libpfm-4.13.0.tar.gz b/libpfm-4.13.0.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..cf3b9f7f767e1b6e65d2214b50c714d2f9532f43 Binary files /dev/null and b/libpfm-4.13.0.tar.gz differ diff --git a/libpfm.spec b/libpfm.spec index 7af1a5254ef441bee3b95bc4a1ead50e9de6ab03..f09d3ada342fa2e9dda105a3e1e675c284b2a860 100644 --- a/libpfm.spec +++ b/libpfm.spec @@ -2,8 +2,8 @@ %define python_prefix %(python3 -c "import sys; print (sys.prefix)") Name: libpfm -Version: 4.11.0 -Release: 2 +Version: 4.13.0 +Release: 1 Summary: A user library help setup performance events for use with the perf_events Linux kernel interface. License: MIT URL: http://perfmon2.sourceforge.net/ @@ -12,7 +12,7 @@ Source0: http://sourceforge.net/projects/perfmon2/files/libpfm4/%{name}-% Patch0001: 0001-libpfm-python3-setup.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 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 +Requires: %{name} = %{version}-%{release} Provides: %{name}-static = %{version}-%{release} Obsoletes: %{name}-static <= %{version}-%{release} Summary: Library to provide perf_events in linux @@ -45,7 +46,8 @@ Man pages and other related documents for %{name}. %autosetup -p1 %build -%make_build CONFIG_PFMLIB_NOPYTHON=n +%make_build CONFIG_PFMLIB_NOPYTHON=n OPTIM="%{optflags}" LDFLAGS="%{build_ldflags}" + %install rm -rf $RPM_BUILD_ROOT @@ -73,6 +75,9 @@ make PREFIX=$RPM_BUILD_ROOT%{_prefix} LIBDIR=$RPM_BUILD_ROOT%{_libdir} \ %changelog +* Tue May 16 2023 liyanan - 4.13.0-1 +- update version to 4.13.0 + * Tue May 09 2023 Jia Chao - 4.11.0-2 - Fix: help package contains files about architecture, should not be noarch.