SPEC: Add dwarves dependency on libdwarves1
while adding the RHEL package one of the checks failed saying that there's no actual version dependency between dwarves nad libdwarves1: Subpackage dwarves on aarch64 x86_64 ppc64le s390x consumes libraries libdwarves.so.1()(64bit) libdwarves_emit.so.1()(64bit) libdwarves_reorganize.so.1()(64bit) from subpackage libdwarves1 but does not have explicit package version requirement. Please add Requires: libdwarves1 = %{version}-%{release} to dwarves in the specfile to avoid the need to test interoperability between the various combinations of old and new subpackages. It's also not present in fedora and I think that's what we want, because it's also present for -devel pacakge.. please consider patch below for fedora package. koji: https://koji.fedoraproject.org/koji/taskinfo?taskID=38777298 [jolsa@krava trash]$ rpm -qp --requires dwarves-1.15-4.fc32.x86_64.rpm | grep libdwarves1 libdwarves1 = 1.15-4.fc32 Signed-off-by: Jiri Olsa <jolsa@kernel.org> Cc: Martin Cermak <mcermak@redhat.com> Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
This commit is contained in:
parent
ccf3eebfcd
commit
cca018e495
|
@ -3,11 +3,12 @@
|
|||
|
||||
Name: dwarves
|
||||
Version: 1.15
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
License: GPLv2
|
||||
Summary: Debugging Information Manipulation Tools (pahole & friends)
|
||||
URL: http://acmel.wordpress.com
|
||||
Source: http://fedorapeople.org/~acme/dwarves/%{name}-%{version}.tar.xz
|
||||
Requires: %{libname}%{libver} = %{version}-%{release}
|
||||
BuildRequires: gcc
|
||||
BuildRequires: cmake
|
||||
BuildRequires: zlib-devel
|
||||
|
@ -117,6 +118,9 @@ make install DESTDIR=%{buildroot}
|
|||
%{_libdir}/%{libname}_reorganize.so
|
||||
|
||||
%changelog
|
||||
* Tue Nov 05 2019 Jiri Olsa <jolsa@redhat.com> - 1.15-2
|
||||
- Add libdwarves version dependency to dwarves package
|
||||
|
||||
* Fri May 27 2019 Arnaldo Carvalho de Melo <acme@redhat.com> - 1.15-1
|
||||
- New release: 1.15
|
||||
- Fix --expand_types/-E segfault
|
||||
|
|
Loading…
Reference in New Issue