From 1fdfb1627053fb98553e68260490d7995c9df194898dd9c1d06e4a4b59877d2d Mon Sep 17 00:00:00 2001 From: Marcus Meissner Date: Mon, 21 Aug 2017 05:40:43 +0000 Subject: [PATCH] Accepting request 514152 from home:jengelh:branches:Base:System - Update package descriptions. - Rename libebl1 to libebl-plugins as these are not linked, but dlopened using their unversioned libebl_$ARCH.so name. - Have libelf1 require libebl-plugins (libebl.a, which does the dlopen call, is staticly built into libelf1). This is necessary for pahole to display its results. [boo#1049871] OBS-URL: https://build.opensuse.org/request/show/514152 OBS-URL: https://build.opensuse.org/package/show/Base:System/elfutils?expand=0&rev=99 --- baselibs.conf | 5 +++- elfutils.changes | 10 +++++++ elfutils.spec | 73 ++++++++++++++++++++---------------------------- 3 files changed, 44 insertions(+), 44 deletions(-) diff --git a/baselibs.conf b/baselibs.conf index a150e84..5c4e83e 100644 --- a/baselibs.conf +++ b/baselibs.conf @@ -1,6 +1,9 @@ libasm1 -libebl1 +libebl-plugins + obsoletes "libebl1-" + provides "libebl1-" libelf1 + requires "libebl-plugins- = " libdw1 libelf-devel requires -libelf- diff --git a/elfutils.changes b/elfutils.changes index ba60ffb..9f6db32 100644 --- a/elfutils.changes +++ b/elfutils.changes @@ -1,3 +1,13 @@ +------------------------------------------------------------------- +Tue Aug 1 11:41:15 UTC 2017 - jengelh@inai.de + +- Update package descriptions. +- Rename libebl1 to libebl-plugins as these are not linked, + but dlopened using their unversioned libebl_$ARCH.so name. +- Have libelf1 require libebl-plugins (libebl.a, which does the + dlopen call, is staticly built into libelf1). This is necessary + for pahole to display its results. [boo#1049871] + ------------------------------------------------------------------- Sun Jun 18 12:45:19 UTC 2017 - schwab@linux-m68k.org diff --git a/elfutils.spec b/elfutils.spec index 2652aa8..47b50ea 100644 --- a/elfutils.spec +++ b/elfutils.spec @@ -19,7 +19,7 @@ Name: elfutils Version: 0.168 Release: 0 -Summary: Higher-level library to access ELF +Summary: Higher-level library to access ELF files License: SUSE-GPL-2.0-with-OSI-exception Group: Development/Tools/Building Url: http://fedorahosted.org/elfutils/ @@ -44,20 +44,18 @@ BuildRequires: zlib-devel Recommends: %{name}.lang %description -This package provides a higher-level library to access ELF files. This -is a part of elfutils package. +elfutils is a collection of utilities and libraries to read, create +and modify ELF binary files, find and handle DWARF debug data, +symbols, thread state and stacktraces for processes and core files. %package -n libasm1 Summary: A collection of utilities and DSOs to handle compiled objects Group: System/Libraries %description -n libasm1 -Elfutils is a collection of utilities, including nm (for -listing symbols from object files), size (for listing the section sizes -of an object or archive file), strip (for discarding symbols), readline -(the see the raw ELF file structures), and elflint (to check for -well-formed ELF files). Also included are numerous helper libraries -which implement DWARF, ELF, and machine-specific ELF handling. +libasm contains the "asm" and "disasm" functions to assemble and +disassamble instructions. (There is only partial support for i686 and +BPF instructions.) This is part of the elfutils package. %package -n libasm-devel Summary: A collection of utilities and DSOs to handle compiled objects @@ -66,56 +64,49 @@ Requires: glibc-devel Requires: libasm1 = %{version} %description -n libasm-devel -Elfutils is a collection of utilities, including nm (for -listing symbols from object files), size (for listing the section sizes -of an object or archive file), strip (for discarding symbols), readline -(the see the raw ELF file structures), and elflint (to check for -well-formed ELF files). Also included are numerous helper libraries -which implement DWARF, ELF, and machine-specific ELF handling. +This package contains the headers and libraries needed to build +applications that require libasm. -%package -n libebl1 -Summary: A collection of utilities and DSOs to handle compiled objects +%package -n libebl-plugins +Summary: Architecture backends for libebl Group: System/Libraries -Provides: libebl = %{version} -Obsoletes: libebl < %{version} +Provides: libebl1 = %{version}-%{release} +Obsoletes: libebl1 < %{version}-%{release} -%description -n libebl1 -Elfutils is a collection of utilities, including nm (for -listing symbols from object files), size (for listing the section sizes -of an object or archive file), strip (for discarding symbols), readline -(the see the raw ELF file structures), and elflint (to check for -well-formed ELF files). Also included are numerous helper libraries -which implement DWARF, ELF, and machine-specific ELF handling. +%description -n libebl-plugins +This subpackage contains the plugins to read architecture-specific +debug info. This is part of the elfutils package. %package -n libebl-devel -Summary: Include Files and Libraries mandatory for Development +Summary: Development files for libebl and for EBL plugins Group: Development/Libraries/C and C++ Requires: glibc-devel Requires: libdw-devel = %{version} -Requires: libebl1 = %{version} %description -n libebl-devel -This package contains all necessary include files and libraries needed -to develop applications that require these. +This package contains the headers and libraries needed to build +applications that require libebl, or to build additional EBL +architecutre backend plugins. %package -n libelf1 Summary: Library to read and write ELF files Group: System/Libraries +Requires: libebl-plugins = %{version} %description -n libelf1 This package provides a high-level library to read and write ELF files. -This is a part of elfutils package. +This is part of the elfutils package. %package -n libelf-devel -Summary: Include Files and Libraries mandatory for Development +Summary: Development files for libelf Group: Development/Libraries/C and C++ Requires: glibc-devel Requires: libelf1 = %{version} Conflicts: libelf0-devel %description -n libelf-devel -This package contains all necessary include files and libraries needed -to develop applications that require these. +This package contains the headers and libraries needed to build +applications that require libelf. %package -n libdw1 Summary: Library to access DWARF debugging information @@ -123,18 +114,18 @@ Group: System/Libraries %description -n libdw1 This package provides a high-level library to access the DWARF debugging -information. This is a part of elfutils package. +information. This is part of the elfutils package. %package -n libdw-devel -Summary: Include Files and Libraries mandatory for Development +Summary: Development files for libdw Group: Development/Libraries/C and C++ Requires: glibc-devel Requires: libdw1 = %{version} Requires: libelf-devel = %{version} %description -n libdw-devel -This package contains all necessary include files and libraries needed -to develop applications that require these. +This package contains the headers and libraries needed to build +applications that require libdw. %lang_package @@ -177,16 +168,12 @@ ls -lR $RPM_BUILD_ROOT%{_libdir}/libelf* %post -n libasm1 -p /sbin/ldconfig -%post -n libebl1 -p /sbin/ldconfig - %post -n libelf1 -p /sbin/ldconfig %post -n libdw1 -p /sbin/ldconfig %postun -n libasm1 -p /sbin/ldconfig -%postun -n libebl1 -p /sbin/ldconfig - %postun -n libelf1 -p /sbin/ldconfig %postun -n libdw1 -p /sbin/ldconfig @@ -211,7 +198,7 @@ make check %dir %{_includedir}/elfutils %{_includedir}/elfutils/libasm.h -%files -n libebl1 +%files -n libebl-plugins %defattr(-,root,root) %{_libdir}/elfutils