Hi, I was looking through the libpfm.spec file and noticed there were some updates needed for it. Attached is the patch. -Will
>From f168ac25a35bcee80f20d8dcc86cf5c20122f118 Mon Sep 17 00:00:00 2001 From: William Cohen <wco...@redhat.com> Date: Thu, 4 Jun 2015 12:09:31 -0400 Subject: [PATCH] Update the libpfm.spec file
There were several corrections in the libpfm.spec made: -Update the version to 4.6.0 -Make the rpm subpackages depend on the build versions -Correct the obsolete build require python-setuptools-devel to python-setuptools --- libpfm.spec | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/libpfm.spec b/libpfm.spec index 82b6958..65fe078 100644 --- a/libpfm.spec +++ b/libpfm.spec @@ -3,7 +3,7 @@ %define python_prefix %(python -c "import sys; print sys.prefix") Name: libpfm -Version: 4.5.0 +Version: 4.6.0 Release: 1%{?dist} Summary: Library to encode performance events for use by perf tool @@ -14,7 +14,7 @@ URL: http://perfmon2.sourceforge.net/ Source0: http://sourceforge.net/projects/perfmon2/files/libpfm4/%{name}-%{version}.tar.gz %if %{with_python} BuildRequires: python-devel -BuildRequires: python-setuptools-devel +BuildRequires: python-setuptools BuildRequires: swig %endif BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) @@ -28,7 +28,7 @@ for the perf_events interface available in upstream Linux kernels since v2.6.31. %package devel Summary: Development library to encode performance events for perf_events based tools Group: Development/Libraries -Requires: %{name} = %{version} +Requires: %{name} = %{version}-%{release} %description devel Development library and header files to create performance monitoring @@ -38,7 +38,7 @@ applications for the perf_events interface. %package python Summary: Python bindings for libpfm and perf_event_open system call Group: Development/Languages -Requires: %{name} = %{version} +Requires: %{name} = %{version}-%{release} %description python Python bindings for libpfm4 and perf_event_open system call. @@ -97,6 +97,9 @@ rm -fr $RPM_BUILD_ROOT %endif %changelog +* Thu Jun 4 2015 William Cohen <wco...@redhat.com> 4.6.0-1 +- Update spec file. + * Wed Nov 13 2013 Lukas Berk <lb...@redhat.com> 4.4.0-1 - Intel IVB-EP support - Intel IVB updates support -- 2.1.0
------------------------------------------------------------------------------
_______________________________________________ perfmon2-devel mailing list perfmon2-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/perfmon2-devel