Compare commits

...

10 Commits

Author SHA1 Message Date
openeuler-ci-bot
3545c8fbf2
!27 Add libpfm-devel requires libpfm
From: @lyn1001 
Reviewed-by: @caodongxia 
Signed-off-by: @caodongxia
2023-11-23 01:04:22 +00:00
lyn1001
a987e0031e Add libpfm-devel requires libpfm 2023-11-22 17:22:18 +08:00
openeuler-ci-bot
e00114c087 !12 [sync] PR-10: yum install安装后缺少man手册
From: @openeuler-sync-bot
Reviewed-by: @small_leek
Signed-off-by: @small_leek
2021-05-21 11:20:23 +08:00
jinzhimin369
9ea27f2b81 add help for Recommends
(cherry picked from commit 69c9e9ef9156808e71a361cef5f0d23b724386e0)
2021-05-21 11:02:56 +08:00
openeuler-ci-bot
909d895672 !9 add release version for update
Merge pull request !9 from small_leek/openEuler-20.03-LTS
2020-08-18 22:16:34 +08:00
small_leek
b7fd597ec8 add release for update 2020-08-18 22:05:53 +08:00
openeuler-ci-bot
b87cfbbc66 !3 add make option
Merge pull request !3 from gu-gu-gu/master
2020-03-18 17:47:14 +08:00
gu-gu-gu
383f7afd53 add make option 2020-03-18 17:35:28 +08:00
openeuler-ci-bot
02a79a5074 !2 libpfm增加编译安全选项-fstack-protector-strong
Merge pull request !2 from yinzhenling/master
2020-03-18 16:08:11 +08:00
yinzhenling
8b6c781549 add make option -fstack-protector-strong 2020-03-18 15:57:32 +08:00
2 changed files with 27 additions and 2 deletions

View File

@ -0,0 +1,11 @@
--- libpfm-4.10.1/lib/Makefile.old 2020-03-18 14:33:35.048208359 +0800
+++ libpfm-4.10.1/lib/Makefile 2020-03-18 14:35:00.276038441 +0800
@@ -33,7 +33,7 @@ ifeq ($(SYS),Linux)
SRCS += pfmlib_perf_event_pmu.c pfmlib_perf_event.c pfmlib_perf_event_raw.c
endif
-CFLAGS+=-D_REENTRANT -I. -fvisibility=hidden
+CFLAGS+=-D_REENTRANT -I. -fvisibility=hidden -fstack-protector-strong
#
# list all library support modules

View File

@ -3,14 +3,16 @@
Name: libpfm
Version: 4.10.1
Release: 6
Release: 10
Summary: A user library help setup performance events for use with the perf_events Linux kernel interface.
License: MIT
URL: http://perfmon2.sourceforge.net/
Source0: http://sourceforge.net/projects/perfmon2/files/libpfm4/%{name}-%{version}.tar.gz
Patch1: 0001-libpfm-python3-setup.patch
Patch0001: 0001-libpfm-python3-setup.patch
Patch0002: 0002-libpfm-lib-Makefile.patch
Recommends: %{name}-help = %{version}-%{release}
BuildRequires: python3 python3-devel python3-setuptools swig gcc
%description
@ -19,6 +21,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
@ -67,6 +70,17 @@ make PREFIX=$RPM_BUILD_ROOT%{_prefix} LIBDIR=$RPM_BUILD_ROOT%{_libdir} \
%changelog
* Wed Nov 22 2023 liyanan <liyanan61@h-partners.com> - 4.10.1-10
- Add libpfm-devel requires libpfm
* Thu Nov 12 2020 xinghe <xinghe1@huawei.com> - 4.10.1-9
- add help for Recommends
* Tue Aug 18 2020 senlin<xiasenlin1@huawei.com> - 4.10.1-8
- add release for update
* Wed Mar 18 2020 yinzhenling <yinzhenling2@huawei.com> - 4.10.1-7
- add make option
* Sun Dec 1 2019 jiaxiya <jiaxiyajiaxiya@168.com> - 4.10.1-6
- Package init