diff options
author | David Howells <dhowells@redhat.com> | 2011-08-11 14:23:50 +0100 |
---|---|---|
committer | David Howells <dhowells@redhat.com> | 2011-08-11 14:23:50 +0100 |
commit | e1b1f203689cbaeb9e890c7965f223aad14959c2 (patch) | |
tree | b02d1b2ce1387cded493fd6ddb4ca0c981b67970 | |
parent | 9d941cd20ddf74b7ebd7e0c8fae2804ef4f7b781 (diff) | |
download | keyutils-e1b1f203689cbaeb9e890c7965f223aad14959c2.tar.gz |
RPM: The keyutils rpm should depend on the exact version of keyutils-libs rpm
The main keyutils rpm should depend on exactly the same version of the
keyutils-libs rpm so that they get updated together.
This should fix the following complaint from RHEL rpmdiff:
Report from TEST_REQUIRES:
[VERIFY] [keyutils] Subpackage keyutils on i686 ppc s390 consumes libraries libkeyutils.so.1 libkeyutils.so.1(KEYUTILS_0.3) libkeyutils.so.1(KEYUTILS_1.0) libkeyutils.so.1(KEYUTILS_1.3) from subpackage keyutils-libs but does not have explicit package version requirement.
Please add Requires: keyutils-libs = %{version}-%{release} to keyutils in the specfile to avoid the need to test interoperability between the various combinations of old and new subpackages.
Signed-off-by: David Howells <dhowells@redhat.com>
-rw-r--r-- | keyutils.spec | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/keyutils.spec b/keyutils.spec index 1a18a2e..46cc5cf 100644 --- a/keyutils.spec +++ b/keyutils.spec @@ -19,6 +19,7 @@ Source0: http://people.redhat.com/~dhowells/keyutils/keyutils-%{version}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: glibc-kernheaders >= 2.4-9.1.92 +Requires: keyutils-libs == %{version}-%{release} %description Utilities to control the kernel key management facility and to provide @@ -92,6 +93,9 @@ rm -rf $RPM_BUILD_ROOT %{_mandir}/man3/* %changelog +* Thu Aug 11 2011 David Howells <dhowells@redhat.com> +- Make the keyutils rpm depend on the same keyutils-libs rpm version. + * Tue Jul 26 2011 David Howells <dhowells@redhat.com> - 1.5.2-1 - Use correct format spec for printing pointer subtraction results. |