SHA256
1
0
forked from pool/elfutils

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
This commit is contained in:
Marcus Meissner 2017-08-21 05:40:43 +00:00 committed by Git OBS Bridge
parent 0cab1d9022
commit 1fdfb16270
3 changed files with 44 additions and 44 deletions

View File

@ -1,6 +1,9 @@
libasm1 libasm1
libebl1 libebl-plugins
obsoletes "libebl1-<targettype>"
provides "libebl1-<targettype>"
libelf1 libelf1
requires "libebl-plugins-<targettype> = <version>"
libdw1 libdw1
libelf-devel libelf-devel
requires -libelf-<targettype> requires -libelf-<targettype>

View File

@ -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 Sun Jun 18 12:45:19 UTC 2017 - schwab@linux-m68k.org

View File

@ -19,7 +19,7 @@
Name: elfutils Name: elfutils
Version: 0.168 Version: 0.168
Release: 0 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 License: SUSE-GPL-2.0-with-OSI-exception
Group: Development/Tools/Building Group: Development/Tools/Building
Url: http://fedorahosted.org/elfutils/ Url: http://fedorahosted.org/elfutils/
@ -44,20 +44,18 @@ BuildRequires: zlib-devel
Recommends: %{name}.lang Recommends: %{name}.lang
%description %description
This package provides a higher-level library to access ELF files. This elfutils is a collection of utilities and libraries to read, create
is a part of elfutils package. and modify ELF binary files, find and handle DWARF debug data,
symbols, thread state and stacktraces for processes and core files.
%package -n libasm1 %package -n libasm1
Summary: A collection of utilities and DSOs to handle compiled objects Summary: A collection of utilities and DSOs to handle compiled objects
Group: System/Libraries Group: System/Libraries
%description -n libasm1 %description -n libasm1
Elfutils is a collection of utilities, including nm (for libasm contains the "asm" and "disasm" functions to assemble and
listing symbols from object files), size (for listing the section sizes disassamble instructions. (There is only partial support for i686 and
of an object or archive file), strip (for discarding symbols), readline BPF instructions.) This is part of the elfutils package.
(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.
%package -n libasm-devel %package -n libasm-devel
Summary: A collection of utilities and DSOs to handle compiled objects Summary: A collection of utilities and DSOs to handle compiled objects
@ -66,56 +64,49 @@ Requires: glibc-devel
Requires: libasm1 = %{version} Requires: libasm1 = %{version}
%description -n libasm-devel %description -n libasm-devel
Elfutils is a collection of utilities, including nm (for This package contains the headers and libraries needed to build
listing symbols from object files), size (for listing the section sizes applications that require libasm.
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.
%package -n libebl1 %package -n libebl-plugins
Summary: A collection of utilities and DSOs to handle compiled objects Summary: Architecture backends for libebl
Group: System/Libraries Group: System/Libraries
Provides: libebl = %{version} Provides: libebl1 = %{version}-%{release}
Obsoletes: libebl < %{version} Obsoletes: libebl1 < %{version}-%{release}
%description -n libebl1 %description -n libebl-plugins
Elfutils is a collection of utilities, including nm (for This subpackage contains the plugins to read architecture-specific
listing symbols from object files), size (for listing the section sizes debug info. This is part of the elfutils package.
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.
%package -n libebl-devel %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++ Group: Development/Libraries/C and C++
Requires: glibc-devel Requires: glibc-devel
Requires: libdw-devel = %{version} Requires: libdw-devel = %{version}
Requires: libebl1 = %{version}
%description -n libebl-devel %description -n libebl-devel
This package contains all necessary include files and libraries needed This package contains the headers and libraries needed to build
to develop applications that require these. applications that require libebl, or to build additional EBL
architecutre backend plugins.
%package -n libelf1 %package -n libelf1
Summary: Library to read and write ELF files Summary: Library to read and write ELF files
Group: System/Libraries Group: System/Libraries
Requires: libebl-plugins = %{version}
%description -n libelf1 %description -n libelf1
This package provides a high-level library to read and write ELF files. 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 %package -n libelf-devel
Summary: Include Files and Libraries mandatory for Development Summary: Development files for libelf
Group: Development/Libraries/C and C++ Group: Development/Libraries/C and C++
Requires: glibc-devel Requires: glibc-devel
Requires: libelf1 = %{version} Requires: libelf1 = %{version}
Conflicts: libelf0-devel Conflicts: libelf0-devel
%description -n libelf-devel %description -n libelf-devel
This package contains all necessary include files and libraries needed This package contains the headers and libraries needed to build
to develop applications that require these. applications that require libelf.
%package -n libdw1 %package -n libdw1
Summary: Library to access DWARF debugging information Summary: Library to access DWARF debugging information
@ -123,18 +114,18 @@ Group: System/Libraries
%description -n libdw1 %description -n libdw1
This package provides a high-level library to access the DWARF debugging 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 %package -n libdw-devel
Summary: Include Files and Libraries mandatory for Development Summary: Development files for libdw
Group: Development/Libraries/C and C++ Group: Development/Libraries/C and C++
Requires: glibc-devel Requires: glibc-devel
Requires: libdw1 = %{version} Requires: libdw1 = %{version}
Requires: libelf-devel = %{version} Requires: libelf-devel = %{version}
%description -n libdw-devel %description -n libdw-devel
This package contains all necessary include files and libraries needed This package contains the headers and libraries needed to build
to develop applications that require these. applications that require libdw.
%lang_package %lang_package
@ -177,16 +168,12 @@ ls -lR $RPM_BUILD_ROOT%{_libdir}/libelf*
%post -n libasm1 -p /sbin/ldconfig %post -n libasm1 -p /sbin/ldconfig
%post -n libebl1 -p /sbin/ldconfig
%post -n libelf1 -p /sbin/ldconfig %post -n libelf1 -p /sbin/ldconfig
%post -n libdw1 -p /sbin/ldconfig %post -n libdw1 -p /sbin/ldconfig
%postun -n libasm1 -p /sbin/ldconfig %postun -n libasm1 -p /sbin/ldconfig
%postun -n libebl1 -p /sbin/ldconfig
%postun -n libelf1 -p /sbin/ldconfig %postun -n libelf1 -p /sbin/ldconfig
%postun -n libdw1 -p /sbin/ldconfig %postun -n libdw1 -p /sbin/ldconfig
@ -211,7 +198,7 @@ make check
%dir %{_includedir}/elfutils %dir %{_includedir}/elfutils
%{_includedir}/elfutils/libasm.h %{_includedir}/elfutils/libasm.h
%files -n libebl1 %files -n libebl-plugins
%defattr(-,root,root) %defattr(-,root,root)
%{_libdir}/elfutils %{_libdir}/elfutils