Compare commits

...

11 Commits

Author SHA1 Message Date
openeuler-ci-bot
3ce9f7af90
!20 Update to 4.13.0
From: @lyn1001 
Reviewed-by: @caodongxia 
Signed-off-by: @caodongxia
2023-05-16 11:43:22 +00:00
lyn1001
c51caec5e0 Update to 4.13.0 2023-05-16 11:12:08 +08:00
openeuler-ci-bot
7c953f4605
!18 help 不应为 noarch
From: @jiachao2130 
Reviewed-by: @lyn1001 
Signed-off-by: @lyn1001
2023-05-16 02:01:57 +00:00
Jia Chao
07c439e269 Fix: libpfm-help should be arched.
Signed-off-by: Jia Chao <jiac13@chinaunicom.cn>
2023-05-09 15:27:40 +08:00
openeuler-ci-bot
58904179aa
!14 Package upgrade
From: @lyn1001 
Reviewed-by: @licihua 
Signed-off-by: @licihua
2022-06-17 00:57:30 +00:00
lyn1001
d50e00f968 Package upgrade 2022-06-16 18:15:12 +08:00
openeuler-ci-bot
9c853bb991 !6 Fix yaml file error
Merge pull request !6 from lyn/master
2020-07-07 16:46:38 +08:00
lyn1001
727dab974b Fix yaml file error 2020-07-07 15:35:48 +08:00
openeuler-ci-bot
75c7ea4832 !5 Fix yaml file error
Merge pull request !5 from lyn/master
2020-07-01 08:47:49 +08:00
lyn1001
1ef4782080 Fix yaml file error 2020-06-30 18:00:26 +08:00
openeuler-ci-bot
d604599f30 !4 Add yaml file
Merge pull request !4 from lyn/master
2020-05-11 20:28:27 +08:00
4 changed files with 24 additions and 8 deletions

Binary file not shown.

BIN
libpfm-4.13.0.tar.gz Normal file

Binary file not shown.

View File

@ -2,8 +2,8 @@
%define python_prefix %(python3 -c "import sys; print (sys.prefix)")
Name: libpfm
Version: 4.10.1
Release: 7
Version: 4.13.0
Release: 1
Summary: A user library help setup performance events for use with the perf_events Linux kernel interface.
License: MIT
URL: http://perfmon2.sourceforge.net/
@ -12,7 +12,7 @@ Source0: http://sourceforge.net/projects/perfmon2/files/libpfm4/%{name}-%
Patch0001: 0001-libpfm-python3-setup.patch
Patch0002: 0002-libpfm-lib-Makefile.patch
BuildRequires: python3 python3-devel python3-setuptools swig gcc
BuildRequires: python3 python3-devel python3-setuptools swig gcc make
%description
This is a user library called libpfm4 to help setup performance
@ -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
@ -34,13 +35,19 @@ Summary: Python bindings for libpfm
%description -n python3-libpfm
Python bindings for libpfm4 used for perf_events
%package_help
%package help
Summary: Documents for %{name}
Requires: man info
%description help
Man pages and other related documents for %{name}.
%prep
%autosetup -p1
%build
%make_build CONFIG_PFMLIB_NOPYTHON=n
%make_build CONFIG_PFMLIB_NOPYTHON=n OPTIM="%{optflags}" LDFLAGS="%{build_ldflags}"
%install
rm -rf $RPM_BUILD_ROOT
@ -68,6 +75,15 @@ make PREFIX=$RPM_BUILD_ROOT%{_prefix} LIBDIR=$RPM_BUILD_ROOT%{_libdir} \
%changelog
* Tue May 16 2023 liyanan <thistleslyn@163.com> - 4.13.0-1
- update version to 4.13.0
* Tue May 09 2023 Jia Chao <jiac13@chinaunicom.cn> - 4.11.0-2
- Fix: help package contains files about architecture, should not be noarch.
* Thu Jun 16 2022 SimpleUpdate Robot <tc@openeuler.org> - 4.11.0-1
- Upgrade to version 4.11.0
* Wed Mar 18 2020 yinzhenling <yinzhenling2@huawei.com> - 4.10.1-7
- add make option

View File

@ -1,4 +1,4 @@
version_control: git
src_repo: https://git.code.sf.net/p/perfmon2/perfmon2
tag_prefix: libpfm-
seperator: .
src_repo: https://git.code.sf.net/p/perfmon2/libpfm4
tag_prefix: "^v"
seperator: "."