Make sure subrpms have same version as main libpfm rpm.
This commit is contained in:
parent
e530429c44
commit
25c704b8ff
11
libpfm.spec
11
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@redhat.com> - 4.6.0-2
|
||||
- Correct requires for subpackages.
|
||||
|
||||
* Thu Mar 5 2015 William Cohen <wcohen@redhat.com> - 4.6.0-1
|
||||
- Rebase on libpfm-4.6.0.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user