Compare commits
10 Commits
8040da8240
...
3545c8fbf2
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
3545c8fbf2 | ||
|
|
a987e0031e | ||
|
|
e00114c087 | ||
|
|
9ea27f2b81 | ||
|
|
909d895672 | ||
|
|
b7fd597ec8 | ||
|
|
b87cfbbc66 | ||
|
|
383f7afd53 | ||
|
|
02a79a5074 | ||
|
|
8b6c781549 |
11
0002-libpfm-lib-Makefile.patch
Normal file
11
0002-libpfm-lib-Makefile.patch
Normal 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
|
||||
18
libpfm.spec
18
libpfm.spec
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user