From 3a6aaf0db90437b9b154a9276ed3b4ce46e4c82f Mon Sep 17 00:00:00 2001 From: lyn1001 Date: Wed, 22 Nov 2023 16:53:57 +0800 Subject: [PATCH] Add libpfm-devel requires libpfm (cherry picked from commit 8c661b0ad12f6356e3e6e85d288bf846e264c06b) --- libpfm.spec | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/libpfm.spec b/libpfm.spec index 7af1a52..5978e11 100644 --- a/libpfm.spec +++ b/libpfm.spec @@ -3,7 +3,7 @@ Name: libpfm Version: 4.11.0 -Release: 2 +Release: 3 Summary: A user library help setup performance events for use with the perf_events Linux kernel interface. License: MIT URL: http://perfmon2.sourceforge.net/ @@ -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 @@ -73,6 +74,9 @@ make PREFIX=$RPM_BUILD_ROOT%{_prefix} LIBDIR=$RPM_BUILD_ROOT%{_libdir} \ %changelog +* Wed Nov 22 2023 liyanan - 4.11.0-3 +- Add libpfm-devel requires libpfm + * Tue May 09 2023 Jia Chao - 4.11.0-2 - Fix: help package contains files about architecture, should not be noarch. -- Gitee