0.178-3
Add elfutils-debuginfod-client Provides and Requires with depsuffix to get multilib dependencies correct. Add %{version}-%{release} to keep subpackages in sync.
This commit is contained in:
parent
163985d2b4
commit
a83eb07452
@ -1,30 +1,19 @@
|
|||||||
Name: elfutils
|
Name: elfutils
|
||||||
Summary: A collection of utilities and DSOs to handle ELF files and DWARF data
|
|
||||||
Version: 0.178
|
Version: 0.178
|
||||||
%global baserelease 2
|
%global baserelease 3
|
||||||
|
Release: %{baserelease}%{?dist}
|
||||||
URL: http://elfutils.org/
|
URL: http://elfutils.org/
|
||||||
%global source_url ftp://sourceware.org/pub/elfutils/%{version}/
|
%global source_url ftp://sourceware.org/pub/elfutils/%{version}/
|
||||||
License: GPLv3+ and (GPLv2+ or LGPLv3+) and GFDL
|
License: GPLv3+ and (GPLv2+ or LGPLv3+) and GFDL
|
||||||
Source: %{?source_url}%{name}-%{version}.tar.bz2
|
Source: %{?source_url}%{name}-%{version}.tar.bz2
|
||||||
Release: %{baserelease}%{?dist}
|
Summary: A collection of utilities and DSOs to handle ELF files and DWARF data
|
||||||
|
|
||||||
%global provide_yama_scope 0
|
|
||||||
|
|
||||||
%if 0%{?fedora} >= 22 || 0%{?rhel} >= 7
|
|
||||||
%global provide_yama_scope 1
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%global depsuffix %{?_isa}%{!?_isa:-%{_arch}}
|
|
||||||
|
|
||||||
# Patches
|
|
||||||
Patch1: elfutils-0.178-pt-gnu-prop.patch
|
|
||||||
|
|
||||||
Requires: elfutils-libelf%{depsuffix} = %{version}-%{release}
|
Requires: elfutils-libelf%{depsuffix} = %{version}-%{release}
|
||||||
Requires: elfutils-libs%{depsuffix} = %{version}-%{release}
|
Requires: elfutils-libs%{depsuffix} = %{version}-%{release}
|
||||||
%if 0%{?rhel} >= 8 || 0%{?fedora} >= 20
|
%if 0%{?rhel} >= 8 || 0%{?fedora} >= 20
|
||||||
Recommends: elfutils-debuginfod-client
|
Recommends: elfutils-debuginfod-client%{depsuffix} = %{version}-%{release}
|
||||||
%else
|
%else
|
||||||
Requires: elfutils-debuginfod-client
|
Requires: elfutils-debuginfod-client%{depsuffix} = %{version}-%{release}
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
BuildRequires: gcc
|
BuildRequires: gcc
|
||||||
@ -55,6 +44,17 @@ BuildRequires: curl
|
|||||||
%global _gnu %{nil}
|
%global _gnu %{nil}
|
||||||
%global _program_prefix eu-
|
%global _program_prefix eu-
|
||||||
|
|
||||||
|
%global provide_yama_scope 0
|
||||||
|
|
||||||
|
%if 0%{?fedora} >= 22 || 0%{?rhel} >= 7
|
||||||
|
%global provide_yama_scope 1
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%global depsuffix %{?_isa}%{!?_isa:-%{_arch}}
|
||||||
|
|
||||||
|
# Patches
|
||||||
|
Patch1: elfutils-0.178-pt-gnu-prop.patch
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Elfutils is a collection of utilities, including stack (to show
|
Elfutils is a collection of utilities, including stack (to show
|
||||||
backtraces), nm (for listing symbols from object files), size
|
backtraces), nm (for listing symbols from object files), size
|
||||||
@ -74,9 +74,9 @@ Requires: elfutils-libelf%{depsuffix} = %{version}-%{release}
|
|||||||
Requires: default-yama-scope
|
Requires: default-yama-scope
|
||||||
%endif
|
%endif
|
||||||
%if 0%{?rhel} >= 8 || 0%{?fedora} >= 20
|
%if 0%{?rhel} >= 8 || 0%{?fedora} >= 20
|
||||||
Recommends: elfutils-debuginfod-client
|
Recommends: elfutils-debuginfod-client%{depsuffix} = %{version}-%{release}
|
||||||
%else
|
%else
|
||||||
Requires: elfutils-debuginfod-client
|
Requires: elfutils-debuginfod-client%{depsuffix} = %{version}-%{release}
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%description libs
|
%description libs
|
||||||
@ -95,9 +95,9 @@ Provides: elfutils-devel%{depsuffix} = %{version}-%{release}
|
|||||||
Requires: elfutils-libs%{depsuffix} = %{version}-%{release}
|
Requires: elfutils-libs%{depsuffix} = %{version}-%{release}
|
||||||
Requires: elfutils-libelf-devel%{depsuffix} = %{version}-%{release}
|
Requires: elfutils-libelf-devel%{depsuffix} = %{version}-%{release}
|
||||||
%if 0%{?rhel} >= 8 || 0%{?fedora} >= 20
|
%if 0%{?rhel} >= 8 || 0%{?fedora} >= 20
|
||||||
Recommends: elfutils-debuginfod-client-devel
|
Recommends: elfutils-debuginfod-client-devel%{depsuffix} = %{version}-%{release}
|
||||||
%else
|
%else
|
||||||
Requires: elfutils-debuginfod-client-devel
|
Requires: elfutils-debuginfod-client-devel%{depsuffix} = %{version}-%{release}
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
@ -198,14 +198,24 @@ profiling) of processes.
|
|||||||
%package debuginfod-client
|
%package debuginfod-client
|
||||||
Summary: Library and command line client for build-id HTTP ELF/DWARF server
|
Summary: Library and command line client for build-id HTTP ELF/DWARF server
|
||||||
License: GPLv3+ and (GPLv2+ or LGPLv3+)
|
License: GPLv3+ and (GPLv2+ or LGPLv3+)
|
||||||
|
%if 0%{!?_isa:1}
|
||||||
|
Provides: elfutils-debuginfod-client%{depsuffix} = %{version}-%{release}
|
||||||
|
%endif
|
||||||
|
|
||||||
%package debuginfod-client-devel
|
%package debuginfod-client-devel
|
||||||
Summary: Libraries and headers to build debuginfod client applications
|
Summary: Libraries and headers to build debuginfod client applications
|
||||||
License: GPLv2+ or LGPLv3+
|
License: GPLv2+ or LGPLv3+
|
||||||
|
%if 0%{!?_isa:1}
|
||||||
|
Provides: elfutils-debuginfod-client-devel%{depsuffix} = %{version}-%{release}
|
||||||
|
%endif
|
||||||
|
Requires: elfutils-debuginfod-client%{depsuffix} = %{version}-%{release}
|
||||||
|
|
||||||
%package debuginfod
|
%package debuginfod
|
||||||
Summary: HTTP ELF/DWARF file server addressed by build-id
|
Summary: HTTP ELF/DWARF file server addressed by build-id
|
||||||
License: GPLv3+
|
License: GPLv3+
|
||||||
|
Requires: elfutils-libs%{depsuffix} = %{version}-%{release}
|
||||||
|
Requires: elfutils-libelf%{depsuffix} = %{version}-%{release}
|
||||||
|
Requires: elfutils-debuginfod-client%{depsuffix} = %{version}-%{release}
|
||||||
BuildRequires: systemd
|
BuildRequires: systemd
|
||||||
Requires(post): systemd
|
Requires(post): systemd
|
||||||
Requires(preun): systemd
|
Requires(preun): systemd
|
||||||
@ -413,6 +423,11 @@ exit 0
|
|||||||
%systemd_postun_with_restart debuginfod.service
|
%systemd_postun_with_restart debuginfod.service
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Nov 28 2019 Mark Wielaard <mjw@fedoraproject.org> - 0.178-3
|
||||||
|
- Add elfutils-debuginfod-client Provides and Requires with depsuffix
|
||||||
|
to get multilib dependencies correct. Add %{version}-%{release} to
|
||||||
|
keep subpackages in sync.
|
||||||
|
|
||||||
* Wed Nov 27 2019 Mark Wielaard <mjw@fedoraproject.org> - 0.178-2
|
* Wed Nov 27 2019 Mark Wielaard <mjw@fedoraproject.org> - 0.178-2
|
||||||
- Fix libdebuginfod file list for debuginfo-client[-devel].
|
- Fix libdebuginfod file list for debuginfo-client[-devel].
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user