Compare commits
11 Commits
3bf845de1c
...
3ce9f7af90
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
3ce9f7af90 | ||
|
|
c51caec5e0 | ||
|
|
7c953f4605 | ||
|
|
07c439e269 | ||
|
|
58904179aa | ||
|
|
d50e00f968 | ||
|
|
9c853bb991 | ||
|
|
727dab974b | ||
|
|
75c7ea4832 | ||
|
|
1ef4782080 | ||
|
|
d604599f30 |
Binary file not shown.
BIN
libpfm-4.13.0.tar.gz
Normal file
BIN
libpfm-4.13.0.tar.gz
Normal file
Binary file not shown.
26
libpfm.spec
26
libpfm.spec
@ -2,8 +2,8 @@
|
|||||||
%define python_prefix %(python3 -c "import sys; print (sys.prefix)")
|
%define python_prefix %(python3 -c "import sys; print (sys.prefix)")
|
||||||
|
|
||||||
Name: libpfm
|
Name: libpfm
|
||||||
Version: 4.10.1
|
Version: 4.13.0
|
||||||
Release: 7
|
Release: 1
|
||||||
Summary: A user library help setup performance events for use with the perf_events Linux kernel interface.
|
Summary: A user library help setup performance events for use with the perf_events Linux kernel interface.
|
||||||
License: MIT
|
License: MIT
|
||||||
URL: http://perfmon2.sourceforge.net/
|
URL: http://perfmon2.sourceforge.net/
|
||||||
@ -12,7 +12,7 @@ Source0: http://sourceforge.net/projects/perfmon2/files/libpfm4/%{name}-%
|
|||||||
|
|
||||||
Patch0001: 0001-libpfm-python3-setup.patch
|
Patch0001: 0001-libpfm-python3-setup.patch
|
||||||
Patch0002: 0002-libpfm-lib-Makefile.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
|
%description
|
||||||
This is a user library called libpfm4 to help setup performance
|
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
|
%package devel
|
||||||
|
Requires: %{name} = %{version}-%{release}
|
||||||
Provides: %{name}-static = %{version}-%{release}
|
Provides: %{name}-static = %{version}-%{release}
|
||||||
Obsoletes: %{name}-static <= %{version}-%{release}
|
Obsoletes: %{name}-static <= %{version}-%{release}
|
||||||
Summary: Library to provide perf_events in linux
|
Summary: Library to provide perf_events in linux
|
||||||
@ -34,13 +35,19 @@ Summary: Python bindings for libpfm
|
|||||||
%description -n python3-libpfm
|
%description -n python3-libpfm
|
||||||
Python bindings for libpfm4 used for perf_events
|
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
|
%prep
|
||||||
%autosetup -p1
|
%autosetup -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%make_build CONFIG_PFMLIB_NOPYTHON=n
|
%make_build CONFIG_PFMLIB_NOPYTHON=n OPTIM="%{optflags}" LDFLAGS="%{build_ldflags}"
|
||||||
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf $RPM_BUILD_ROOT
|
||||||
@ -68,6 +75,15 @@ make PREFIX=$RPM_BUILD_ROOT%{_prefix} LIBDIR=$RPM_BUILD_ROOT%{_libdir} \
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%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
|
* Wed Mar 18 2020 yinzhenling <yinzhenling2@huawei.com> - 4.10.1-7
|
||||||
- add make option
|
- add make option
|
||||||
|
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
version_control: git
|
version_control: git
|
||||||
src_repo: https://git.code.sf.net/p/perfmon2/perfmon2
|
src_repo: https://git.code.sf.net/p/perfmon2/libpfm4
|
||||||
tag_prefix: libpfm-
|
tag_prefix: "^v"
|
||||||
seperator: .
|
seperator: "."
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user