From cfbf2e6ffa4098e867141d1cf3a72c14ae48a99b Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Fri, 5 Jan 2024 22:04:00 +0100 Subject: [PATCH] move libdw stuff to libdw and libdw-devel new subpackages [release 0.159-2mamba;Mon Sep 01 2014] --- elfutils.spec | 43 +++++++++++++++++++++++++++++-------------- 1 file changed, 29 insertions(+), 14 deletions(-) diff --git a/elfutils.spec b/elfutils.spec index 36cde39..55452ec 100644 --- a/elfutils.spec +++ b/elfutils.spec @@ -3,7 +3,7 @@ Name: elfutils Version: 0.159 -Release: 1mamba +Release: 2mamba Summary: A collection of utilities and DSOs to handle compiled objects Group: Development/Tools Vendor: openmamba @@ -38,17 +38,6 @@ Elfutils is a collection of utilities, including: * elflint (to check for well-formed ELF files) Also included are numerous helper libraries which implement DWARF, ELF, and machine-specific ELF handling. -%package devel -Summary: Devel package for %{name} -Group: Development/Libraries -Requires: %{name} = %{version}-%{release} - -%description devel -The %{name}-devel package contains the libraries to create applications for handling compiled objects. - * libebl provides some higher-level ELF access functionality - * libdw provides access to the DWARF debugging information - * libasm provides a programmable assembler interface - %package -n %{libname} Summary: Library to read and write ELF files Group: System/Libraries @@ -71,6 +60,25 @@ Obsoletes: elfutils-libelf-devel The %{libname}-devel package contains the libraries to create applications for handling compiled objects. Libelf allows you to access the internals of the ELF object file format, so you can see the different sections of an ELF file. +%package -n libdw +Summary: A library that provides access to DWARF debug information stored inside ELF files +Group: System/Libraries + +%description -n libdw +The %{libname} package provides a DSO which allows reading and writing ELF files on a high level. +libdw provides access to DWARF debug information stored inside ELF files. + +%package -n libdw-devel +Summary: Development support for libdw +Group: Development/Libraries +Requires: %{libname} = %{version}-%{release} +Provides: elfutils-devel +Obsoletes: elfutils-devel + +%description -n libdw-devel +The %{libname}-devel package contains the libraries to create applications for handling compiled objects. +libdw provides access to DWARF debug information stored inside ELF files. + %prep %setup -q #%patch3 -p1 @@ -140,13 +148,16 @@ rm -f %{buildroot}%{_libdir}/libasm.{a,so,so.*} %{_bindir}/%{_program_prefix}elfcmp %{_bindir}/%{_program_prefix}ranlib %{_bindir}/%{_program_prefix}strings + +%files -n libdw +%defattr(-,root,root) %{_libdir}/libdw-%{version}.so %{_libdir}/libdw.so.* %dir %{_libdir}/%{name} %{_libdir}/%{name}/lib*.so -%doc AUTHORS COPYING ChangeLog NEWS README THANKS TODO +%doc AUTHORS COPYING -%files devel +%files -n libdw-devel %defattr(-,root,root) %{_includedir}/dwarf.h %dir %{_includedir}/%{name} @@ -159,6 +170,7 @@ rm -f %{buildroot}%{_libdir}/libasm.{a,so,so.*} %{_libdir}/libebl.a %{_libdir}/libdw.a %{_libdir}/libdw.so +%doc ChangeLog NEWS README THANKS TODO %files -n %{libname} %defattr(-,root,root) @@ -174,6 +186,9 @@ rm -f %{buildroot}%{_libdir}/libasm.{a,so,so.*} %{_libdir}/libelf.so %changelog +* Mon Sep 01 2014 Silvan Calarco 0.159-2mamba +- move libdw stuff to libdw and libdw-devel new subpackages + * Mon Jul 14 2014 Silvan Calarco 0.159-1mamba - update to 0.159