wcohen pushed to libpfm (master). "Make sure subrpms have same version as main libpfm rpm."

notifications at fedoraproject.org notifications at fedoraproject.org
Thu Jun 4 17:54:35 UTC 2015


From 25c704b8ff701f9bf5711776b5e5e7e52a05e93e Mon Sep 17 00:00:00 2001
From: William Cohen <wcohen at redhat.com>
Date: Thu, 4 Jun 2015 13:53:35 -0400
Subject: Make sure subrpms have same version as main libpfm rpm.


diff --git a/libpfm.spec b/libpfm.spec
index a4b12bd..84037f3 100644
--- a/libpfm.spec
+++ b/libpfm.spec
@@ -10,7 +10,7 @@
 
 Name:		libpfm
 Version:	4.6.0
-Release:	1%{?dist}
+Release:	2%{?dist}
 
 Summary:	Library to encode performance events for use by perf tool
 
@@ -34,7 +34,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}%{?_isa} = %{version}
+Requires:	%{name}%{?_isa} = %{version}-%{release}
 
 %description devel
 Development library and header files to create performance monitoring
@@ -43,7 +43,7 @@ applications for the perf_events interface.
 %package static
 Summary:	Static library to encode performance events for perf_events based tools
 Group:		Development/Libraries
-Requires:	%{name}%{?_isa} = %{version}
+Requires:	%{name}%{?_isa} = %{version}-%{release}
 
 %description static
 Static version of the libpfm library for performance monitoring
@@ -53,7 +53,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}%{?_isa} = %{version}
+Requires:	%{name}%{?_isa} = %{version}-%{release}
 
 %description python
 Python bindings for libpfm4 and perf_event_open system call.
@@ -108,6 +108,9 @@ make \
 %endif
 
 %changelog
+* Thu Jun 4 2015 William Cohen <wcohen at redhat.com> - 4.6.0-2
+- Correct requires for subpackages.
+
 * Thu Mar 5 2015 William Cohen <wcohen at redhat.com> - 4.6.0-1
 - Rebase on libpfm-4.6.0.
 
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/libpfm.git/commit/?h=master&id=25c704b8ff701f9bf5711776b5e5e7e52a05e93e


More information about the scm-commits mailing list