mirror of
https://github.com/openharmony/third_party_elfutils.git
synced 2026-07-20 23:45:11 -04:00
config: Update elfutils.spec with explicit sub-package requires.
Consistently require version-release subpackages so that everything is updated together. Technically this isn't always required (it is for elfutils-libelf and elfutils-libs). But this makes things more consistent and prevents multilib version mismatches. Also update a Summary and description to match the current Fedora text. Signed-off-by: Mark Wielaard <mark@klomp.org>
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
2019-12-05 Mark Wielaard <mark@klomp.org>
|
||||
|
||||
* elfutils.spec.in: Add explicit version-release requires for all
|
||||
packages.
|
||||
|
||||
2019-11-28 Mark Wielaard <mark@klomp.org>
|
||||
|
||||
* elfutils.spec.in (debuginfod): Add an explicit Requires
|
||||
|
||||
+10
-9
@@ -1,16 +1,16 @@
|
||||
# -*- rpm-spec-*-
|
||||
Summary: A collection of utilities and DSOs to handle ELF files and DWARF data
|
||||
Name: elfutils
|
||||
Version: @PACKAGE_VERSION@
|
||||
Release: 1
|
||||
URL: http://elfutils.org/
|
||||
License: GPLv3+ and (GPLv2+ or LGPLv3+) and GFDL
|
||||
Source: ftp://sourceware.org/pub/elfutils/%{version}/elfutils-%{version}.tar.bz2
|
||||
Summary: A collection of utilities and DSOs to handle ELF files and DWARF data
|
||||
|
||||
Requires: elfutils-libelf = %{version}-%{release}
|
||||
Requires: elfutils-libs = %{version}-%{release}
|
||||
# Can be a Recommends if rpm supports that
|
||||
Requires: elfutils-debuginfod-client
|
||||
Requires: elfutils-debuginfod-client = %{version}-%{release}
|
||||
|
||||
BuildRequires: gcc
|
||||
# For libstdc++ demangle support
|
||||
@@ -54,7 +54,7 @@ License: GPLv2+ or LGPLv3+
|
||||
Requires: elfutils-libelf = %{version}-%{release}
|
||||
Requires: default-yama-scope
|
||||
# Can be a Recommends if rpm supports that
|
||||
Requires: elfutils-debuginfod-client
|
||||
Requires: elfutils-debuginfod-client = %{version}-%{release}
|
||||
|
||||
%description libs
|
||||
The elfutils-libs package contains libraries which implement DWARF, ELF,
|
||||
@@ -68,10 +68,8 @@ Summary: Development libraries to handle compiled objects
|
||||
License: GPLv2+ or LGPLv3+
|
||||
Requires: elfutils-libs = %{version}-%{release}
|
||||
Requires: elfutils-libelf-devel = %{version}-%{release}
|
||||
%if 0%{?rhel} >= 8 || 0%{?fedora} >= 20
|
||||
Recommends: elfutils-debuginfod-client-devel
|
||||
%else
|
||||
Requires: elfutils-debuginfod-client-devel
|
||||
# Can be a Recommends if rpm supports that
|
||||
Requires: elfutils-debuginfod-client-devel = %{version}-%{release}
|
||||
%endif
|
||||
|
||||
%description devel
|
||||
@@ -87,8 +85,8 @@ Requires: elfutils-devel = %{version}-%{release}
|
||||
Requires: elfutils-libelf-devel-static = %{version}-%{release}
|
||||
|
||||
%description devel-static
|
||||
The elfutils-devel-static archive contains the static archives
|
||||
with the code the handle compiled objects.
|
||||
The elfutils-devel-static package contains the static archives
|
||||
with the code to handle compiled objects.
|
||||
|
||||
%package libelf
|
||||
Summary: Library to read and write ELF files
|
||||
@@ -144,10 +142,13 @@ License: GPLv3+ and (GPLv2+ or LGPLv3+)
|
||||
%package debuginfod-client-devel
|
||||
Summary: Libraries and headers to build debuginfod client applications
|
||||
License: GPLv2+ or LGPLv3+
|
||||
Requires: debuginfod-client = %{version}-%{release}
|
||||
|
||||
%package debuginfod
|
||||
Summary: HTTP ELF/DWARF file server addressed by build-id
|
||||
License: GPLv3+
|
||||
Requires: elfutils-libs = %{version}-%{release}
|
||||
Requires: elfutils-libelf = %{version}-%{release}
|
||||
Requires: elfutils-debuginfod-client = %{version}-%{release}
|
||||
BuildRequires: systemd
|
||||
Requires(post): systemd
|
||||
|
||||
Reference in New Issue
Block a user