From a3cab28966d55ed36d97d955fe2bcefc202c96f5 Mon Sep 17 00:00:00 2001 From: anolis-bot Date: Mon, 14 Nov 2022 14:38:38 +0800 Subject: [PATCH 1/2] update to libpfm-4.10.1-5.el8 Signed-off-by: anolis-bot --- dist | 1 + libpfm.spec | 23 ++++------------------- 2 files changed, 5 insertions(+), 19 deletions(-) create mode 100644 dist diff --git a/dist b/dist new file mode 100644 index 0000000..9c0e36e --- /dev/null +++ b/dist @@ -0,0 +1 @@ +an8 diff --git a/libpfm.spec b/libpfm.spec index 61de7ff..0bf8f7f 100644 --- a/libpfm.spec +++ b/libpfm.spec @@ -1,4 +1,3 @@ -%define anolis_release .0.1 %bcond_without python %if %{with python} %define python_sitearch %(python3 -c "from distutils.sysconfig import get_python_lib; print (get_python_lib(1))") @@ -11,7 +10,7 @@ Name: libpfm Version: 4.10.1 -Release: 4%{anolis_release}%{?dist}.1 +Release: 5%{?dist} Summary: Library to encode performance events for use by perf tool @@ -73,15 +72,6 @@ Requires: %{name}%{?_isa} = %{version}-%{release} Python bindings for libpfm4 and perf_event_open system call. %endif -%package doc -Summary: Documents for %{name} -BuildArch: noarch -Requires: %{name} = %{version}-%{release} - - -%description doc -Doc pages for %{name} - %prep %setup -q %patch2 -p1 -b .python3 @@ -122,6 +112,7 @@ make \ %postun -p /sbin/ldconfig %files +%doc README %{_libdir}/lib*.so.* %files devel @@ -137,15 +128,9 @@ make \ %{python_sitearch}/* %endif -%files doc -%doc README - %changelog -* Fri Jul 15 2022 Chang Gao - 4.10.1-4.0.1 -- Add doc sub package - -* Thu May 19 2022 William Cohen - 4.10.1-4.1 -- Add AMD Zen 2/3 support (RHBZ #2088283) +* Sun May 8 2022 William Cohen - 4.10.1-5 +- Add AMD Zen 2/3 support (RHBZ #2067218) * Thu May 20 2021 William Cohen - 4.10.1-4 - Add Fujitsu A64FX support (RHBZ #1908126) -- Gitee From 8f71c4e75ec726b6a011e6cd977dde27b3e2d3bd Mon Sep 17 00:00:00 2001 From: "taifu.gc" Date: Tue, 19 Jul 2022 11:56:49 +0800 Subject: [PATCH 2/2] spec: add doc sub package --- libpfm.spec | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --git a/libpfm.spec b/libpfm.spec index 0bf8f7f..8b3c489 100644 --- a/libpfm.spec +++ b/libpfm.spec @@ -1,3 +1,4 @@ +%define anolis_release .0.1 %bcond_without python %if %{with python} %define python_sitearch %(python3 -c "from distutils.sysconfig import get_python_lib; print (get_python_lib(1))") @@ -10,7 +11,7 @@ Name: libpfm Version: 4.10.1 -Release: 5%{?dist} +Release: 5%{anolis_release}%{?dist} Summary: Library to encode performance events for use by perf tool @@ -72,6 +73,15 @@ Requires: %{name}%{?_isa} = %{version}-%{release} Python bindings for libpfm4 and perf_event_open system call. %endif +%package doc +Summary: Documents for %{name} +BuildArch: noarch +Requires: %{name} = %{version}-%{release} + + +%description doc +Doc pages for %{name} + %prep %setup -q %patch2 -p1 -b .python3 @@ -112,7 +122,6 @@ make \ %postun -p /sbin/ldconfig %files -%doc README %{_libdir}/lib*.so.* %files devel @@ -128,7 +137,13 @@ make \ %{python_sitearch}/* %endif +%files doc +%doc README + %changelog +* Tue Dec 13 2022 Chang Gao - 4.10.1-5.0.1 +- Add doc sub package + * Sun May 8 2022 William Cohen - 4.10.1-5 - Add AMD Zen 2/3 support (RHBZ #2067218) -- Gitee