From: Jan Stancek <jstan...@redhat.com>

redhat: make libperf-devel require libperf %{version}-%{release}

Forward-port of c9s commit:
  a84991c38dd1 ("redhat: make libperf-devel require libperf 
%{version}-%{release}")

Add Requires to address potential issue found by rpminspect:
  Subpackage libperf-devel on aarch64 carries 'Requires: libperf.so()(64bit)'
  which comes from subpackage libperf but does not carry an explicit package
  version requirement. Please add 'Requires: libperf = %{version}-%{release}'
  to the spec file to avoid the need to test interoperability between various
  combinations of old and new subpackages.

Signed-off-by: Jan Stancek <jstan...@redhat.com>

diff --git a/redhat/kernel.spec.template b/redhat/kernel.spec.template
index blahblah..blahblah 100644
--- a/redhat/kernel.spec.template
+++ b/redhat/kernel.spec.template
@@ -1133,6 +1133,7 @@ This package contains the kernel source perf library.
 
 %package -n libperf-devel
 Summary: Developement files for the perf library from kernel source
+Requires: libperf = %{version}-%{release}
 %description -n libperf-devel
 This package includes libraries and header files needed for development
 of applications which use perf library from kernel source.

--
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/3045
--
_______________________________________________
kernel mailing list -- kernel@lists.fedoraproject.org
To unsubscribe send an email to kernel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/kernel@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to