Compare commits

..

No commits in common. "3ce9f7af90f7d1216b99f25cc0761e8c5b103e15" and "3bf845de1cf5857b8e662ffc0a845ae63b5e9fff" have entirely different histories.

4 changed files with 8 additions and 24 deletions

BIN
libpfm-4.10.1.tar.gz Normal file

Binary file not shown.

Binary file not shown.

View File

@ -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.13.0 Version: 4.10.1
Release: 1 Release: 7
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 make BuildRequires: python3 python3-devel python3-setuptools swig gcc
%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,7 +20,6 @@ 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
@ -35,19 +34,13 @@ 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 OPTIM="%{optflags}" LDFLAGS="%{build_ldflags}" %make_build CONFIG_PFMLIB_NOPYTHON=n
%install %install
rm -rf $RPM_BUILD_ROOT rm -rf $RPM_BUILD_ROOT
@ -75,15 +68,6 @@ 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

View File

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