!25 Add libpfm-devel requires libpfm

From: @lyn1001 
Reviewed-by: @caodongxia 
Signed-off-by: @caodongxia
This commit is contained in:
openeuler-ci-bot 2023-11-23 01:04:48 +00:00 committed by Gitee
commit 08340f6311
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -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 <liyanan61@h-partners.com> - 4.11.0-3
- Add libpfm-devel requires libpfm
* Tue May 09 2023 Jia Chao <jiac13@chinaunicom.cn> - 4.11.0-2
- Fix: help package contains files about architecture, should not be noarch.