SHA256
1
0
forked from pool/elfutils

Accepting request 727947 from Base:System

Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/727947
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/elfutils?expand=0&rev=76
This commit is contained in:
Dominique Leuenberger 2019-09-11 08:24:45 +00:00 committed by Git OBS Bridge
commit 16b869c8ba
2 changed files with 38 additions and 44 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Aug 27 07:44:02 UTC 2019 - Jan Engelhardt <jengelh@inai.de>
- Modernize specfile and metadata.
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Aug 15 08:05:28 UTC 2019 - Martin Liška <mliska@suse.cz> Thu Aug 15 08:05:28 UTC 2019 - Martin Liška <mliska@suse.cz>
@ -90,7 +95,7 @@ Fri Nov 16 13:28:34 UTC 2018 - Martin Liška <mliska@suse.cz>
Fri Sep 21 09:33:25 UTC 2018 - Martin Liška <mliska@suse.cz> Fri Sep 21 09:33:25 UTC 2018 - Martin Liška <mliska@suse.cz>
- Add disable-backtrace-dwarf-test.patch in order to work around: - Add disable-backtrace-dwarf-test.patch in order to work around:
https://sourceware.org/bugzilla/show_bug.cgi?id=23673. https://sourceware.org/bugzilla/show_bug.cgi?id=23673.
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Sep 17 10:21:35 UTC 2018 - Martin Liška <mliska@suse.cz> Mon Sep 17 10:21:35 UTC 2018 - Martin Liška <mliska@suse.cz>
@ -203,7 +208,7 @@ Mon Jun 4 07:19:12 UTC 2018 - mliska@suse.cz
The sha1 and md5 implementations have been removed, they weren't used. The sha1 and md5 implementations have been removed, they weren't used.
- Remove patches: elfutils-0.170-Wpackednotaligned.patch, - Remove patches: elfutils-0.170-Wpackednotaligned.patch,
elfutils-0.170-stripnothing.patch, gcc8-disable-test.patch elfutils-0.170-stripnothing.patch, gcc8-disable-test.patch
- make package with V=1 to print verbose command line - make package with V=1 to print verbose command line
------------------------------------------------------------------- -------------------------------------------------------------------
@ -233,7 +238,7 @@ Fri Mar 9 09:21:05 UTC 2018 - rguenther@suse.com
backends: Add support for EM_PPC64 GNU_ATTRIBUTES. backends: Add support for EM_PPC64 GNU_ATTRIBUTES.
Frame pointer unwinding fallback support for i386, x86_64, aarch64. Frame pointer unwinding fallback support for i386, x86_64, aarch64.
translations: Update Polish translation. translations: Update Polish translation.
- Remove obsolete 0001-backends-Add-support-for-EM_PPC64-GNU_ATTRIBUTES.patch - Remove obsolete 0001-backends-Add-support-for-EM_PPC64-GNU_ATTRIBUTES.patch
and ppc-machine-flags.patch and ppc-machine-flags.patch
- Add elfutils-0.170-stripnothing.patch to robustify test and avoid a FAIL. - Add elfutils-0.170-stripnothing.patch to robustify test and avoid a FAIL.
- Add elfutils-0.170-Wpackednotaligned.patch to fix build with GCC 8. - Add elfutils-0.170-Wpackednotaligned.patch to fix build with GCC 8.
@ -375,12 +380,12 @@ Fri Nov 20 10:15:34 UTC 2015 - idonmez@suse.com
* libebl-prototype-fix.diff * libebl-prototype-fix.diff
Changelog: Changelog:
- strip, unstrip: - strip, unstrip:
* Handle ELF files with merged strtab/shstrtab tables. * Handle ELF files with merged strtab/shstrtab tables.
* Handle missing SHF_INFO_LINK section flags. * Handle missing SHF_INFO_LINK section flags.
- libelf: - libelf:
* Use int64_t for offsets in libelf.h instead of loff_t. * Use int64_t for offsets in libelf.h instead of loff_t.
- libdw: - libdw:
* dwarf.h Add preliminary DWARF5 DW_LANG_Haskell. * dwarf.h Add preliminary DWARF5 DW_LANG_Haskell.
- libdwfl: - libdwfl:
* dwfl_standard_find_debuginfo now searches any subdir of the binary * dwfl_standard_find_debuginfo now searches any subdir of the binary
@ -446,7 +451,7 @@ Wed Jan 7 00:45:34 UTC 2015 - p.drouand@gmail.com
- Refreshed patch (from Fedora sources) - Refreshed patch (from Fedora sources)
+ elfutils-portability.patch > elfutils-portability-0.161.patch + elfutils-portability.patch > elfutils-portability-0.161.patch
- Add a lang subpackage - Add a lang subpackage
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Oct 15 15:06:23 UTC 2014 - jengelh@inai.de Wed Oct 15 15:06:23 UTC 2014 - jengelh@inai.de
@ -472,7 +477,7 @@ Sat Mar 22 17:19:48 UTC 2014 - jengelh@inai.de
Tue Jan 28 19:22:04 UTC 2014 - tonyj@suse.com Tue Jan 28 19:22:04 UTC 2014 - tonyj@suse.com
- Update to 0.158: - Update to 0.158:
- libdwfl: - libdwfl:
- dwfl_core_file_report has new parameter executable. - dwfl_core_file_report has new parameter executable.
- New functions dwfl_module_getsymtab_first_global, - New functions dwfl_module_getsymtab_first_global,
dwfl_module_getsym_info and dwfl_module_addrinfo. dwfl_module_getsym_info and dwfl_module_addrinfo.
@ -546,7 +551,7 @@ Wed Nov 28 09:37:52 UTC 2012 - adrian@suse.de
calling elf_cntl(ELF_C_FDREAD). calling elf_cntl(ELF_C_FDREAD).
Implement support for ar archives with 64-bit symbol table. Implement support for ar archives with 64-bit symbol table.
[g]elf[32|64]_offscn() do not match SHT_NOBITS sections at OFFSET. [g]elf[32|64]_offscn() do not match SHT_NOBITS sections at OFFSET.
libdw: dwarf.h corrected the DW_LANG_ObjC constant name (was DW_LANG_Objc). libdw: dwarf.h corrected the DW_LANG_ObjC constant name (was DW_LANG_Objc).
Any existing sources using the old name will have to be updated. Any existing sources using the old name will have to be updated.
Add DW_MACRO_GNU .debug_macro type encodings constants, DW_ATE_UTF Add DW_MACRO_GNU .debug_macro type encodings constants, DW_ATE_UTF
@ -556,17 +561,17 @@ Wed Nov 28 09:37:52 UTC 2012 - adrian@suse.de
--enable-dwz to test it. --enable-dwz to test it.
dwarf_highpc function now handles DWARF 4 DW_AT_high_pc constant form. dwarf_highpc function now handles DWARF 4 DW_AT_high_pc constant form.
Fix bug using dwarf_next_unit to iterate over .debug_types. Fix bug using dwarf_next_unit to iterate over .debug_types.
elflint: Now accepts gold linker produced executables. elflint: Now accepts gold linker produced executables.
readelf: Add .debug_macro parsing support. readelf: Add .debug_macro parsing support.
Add .gdb_index version 7 parsing support. Add .gdb_index version 7 parsing support.
Recognize DW_OP_GNU_parameter_ref. Recognize DW_OP_GNU_parameter_ref.
backends: Add support for Tilera TILE-Gx processor. backends: Add support for Tilera TILE-Gx processor.
translations: Updated Ukrainian translation. translations: Updated Ukrainian translation.
The license is now GPLv2/LGPLv3+ for the libraries and GPLv3+ for stand-alone The license is now GPLv2/LGPLv3+ for the libraries and GPLv3+ for stand-alone
programs. There is now also a formal CONTRIBUTING document describing how to programs. There is now also a formal CONTRIBUTING document describing how to
submit patches. submit patches.
@ -586,7 +591,7 @@ Thu Sep 20 13:18:51 UTC 2012 - cfarrell@suse.com
------------------------------------------------------------------- -------------------------------------------------------------------
Wed May 30 17:41:41 UTC 2012 - sweet_f_a@gmx.de Wed May 30 17:41:41 UTC 2012 - sweet_f_a@gmx.de
- avoid automake dependency - avoid automake dependency
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Mar 15 08:49:20 UTC 2012 - aj@suse.de Thu Mar 15 08:49:20 UTC 2012 - aj@suse.de
@ -597,7 +602,7 @@ Thu Mar 15 08:49:20 UTC 2012 - aj@suse.de
* Support for .zdebug sections * Support for .zdebug sections
* type_units and DW_AT_GNU_odr_signature support * type_units and DW_AT_GNU_odr_signature support
* low level support DW_OP_GNU_entry_value and DW_TAG_GNU_call_site * low level support DW_OP_GNU_entry_value and DW_TAG_GNU_call_site
- Revert scanf changes in portability patch since C99 gives %a a new - Revert scanf changes in portability patch since C99 gives %a a new
meaning. meaning.
------------------------------------------------------------------- -------------------------------------------------------------------
@ -641,11 +646,11 @@ Fri Jan 21 22:02:25 UTC 2011 - tonyj@novell.com
- Update to 0.151 - Update to 0.151
- Upstream changelog for 0.151/0.150 - Upstream changelog for 0.151/0.150
- libdwfl: Fix for more prelink cases with separate debug file. - libdwfl: Fix for more prelink cases with separate debug file.
- eu-strip: New flag --strip-sections to remove section headers entirely. - eu-strip: New flag --strip-sections to remove section headers entirely.
- libdwfl: Remove bogus assert. - libdwfl: Remove bogus assert.
- libdw: Fix for handling huge .debug_aranges section. - libdw: Fix for handling huge .debug_aranges section.
- libdwfl: Fix for handling prelinked DSO with separate debug file. - libdwfl: Fix for handling prelinked DSO with separate debug file.
- findtextrel: Fix diagnostics to work with usual section ordering. - findtextrel: Fix diagnostics to work with usual section ordering.
- libebl: i386 backend fix for multi-register integer return value location - libebl: i386 backend fix for multi-register integer return value location
@ -657,7 +662,7 @@ Sat Sep 18 00:00:44 UTC 2010 - tonyj@novell.com
- libdwfl: Fix Linux kernel module search when dwfl_build_id_find_elf and - libdwfl: Fix Linux kernel module search when dwfl_build_id_find_elf and
dwfl_build_id_find_debuginfo close fd on success dwfl_build_id_find_debuginfo close fd on success
- readelf: Use symbolic printing for FDE initial_location address - readelf: Use symbolic printing for FDE initial_location address
- readelf: Print .debug_loc/.debug_ranges with cognizance of actual DIE - readelf: Print .debug_loc/.debug_ranges with cognizance of actual DIE
pointers into them. pointers into them.
- readelf: Fix crash in .debug_loc with garbage data. - readelf: Fix crash in .debug_loc with garbage data.
- readelf: Fix DW_OP_call_ref printing for version 2 CUs. - readelf: Fix DW_OP_call_ref printing for version 2 CUs.
@ -678,10 +683,10 @@ Thu Aug 26 03:32:26 CEST 2010 - tonyj@suse.de
- Update to 0.148 - Update to 0.148
- Upstream changelog - Upstream changelog
- libdw: Accept DWARF 4 format: new functions dwarf_next_unit, - libdw: Accept DWARF 4 format: new functions dwarf_next_unit,
dwarf_offdie_types. New functions dwarf_lineisa, dwarf_offdie_types. New functions dwarf_lineisa,
dwarf_linediscriminator, dwarf_lineop_index. dwarf_linediscriminator, dwarf_lineop_index.
- libdwfl: Fixes in core-file handling, support cores from PIEs. - libdwfl: Fixes in core-file handling, support cores from PIEs.
When working from build IDs, don't open a named file that mismatches. When working from build IDs, don't open a named file that mismatches.
- readelf: Handle DWARF 4 formats. - readelf: Handle DWARF 4 formats.
@ -698,7 +703,7 @@ Tue May 11 20:01:23 UTC 2010 - tonyj@novell.com
- dropped patches for 10.3 and older - dropped patches for 10.3 and older
- dropped elfutils-0.97-ftruncate-mmap-fix, libelf-ignore-NOBITS, test and - dropped elfutils-0.97-ftruncate-mmap-fix, libelf-ignore-NOBITS, test and
build patches. According to jbl these were mistakenly checked in from build patches. According to jbl these were mistakenly checked in from
home:janblunck:debuginfo:libs/elfutils and the purpose of this project is home:janblunck:debuginfo:libs/elfutils and the purpose of this project is
no longer known. Absense of any patch header makes confirmation difficult. no longer known. Absense of any patch header makes confirmation difficult.
- Upstream changelog: - Upstream changelog:
@ -707,10 +712,10 @@ Tue May 11 20:01:23 UTC 2010 - tonyj@novell.com
ops. ops.
- libdwfl: Ignore R_*_NONE relocs, works around old (binutils) ld -r - libdwfl: Ignore R_*_NONE relocs, works around old (binutils) ld -r
bugs. bugs.
0.146 0.146
- libdwfl: New function dwfl_core_file_report. - libdwfl: New function dwfl_core_file_report.
0.145 0.145
- Fix build with --disable-dependency-tracking. - Fix build with --disable-dependency-tracking.
- Fix build with most recent glibc headers. - Fix build with most recent glibc headers.
@ -719,7 +724,7 @@ Tue May 11 20:01:23 UTC 2010 - tonyj@novell.com
- libdwfl: Fix address bias returned by CFI accessors. Fix core - libdwfl: Fix address bias returned by CFI accessors. Fix core
file module layout identification. file module layout identification.
- readelf: Fix CFI decoding. - readelf: Fix CFI decoding.
0.144 0.144
- libelf: New function elf_getphdrnum. Now support using more than - libelf: New function elf_getphdrnum. Now support using more than
65536 program headers in a file. 65536 program headers in a file.
@ -728,7 +733,7 @@ Tue May 11 20:01:23 UTC 2010 - tonyj@novell.com
calculation. calculation.
- readelf: Don't give errors for missing info under -a. - readelf: Don't give errors for missing info under -a.
Handle Linux "VMCOREINFO" notes under -n. Handle Linux "VMCOREINFO" notes under -n.
0.143 0.143
- libdw: Various convenience functions for individual attributes now - libdw: Various convenience functions for individual attributes now
use dwarf_attr_integrate to look up indirect inherited use dwarf_attr_integrate to look up indirect inherited
@ -926,4 +931,3 @@ Mon May 21 12:19:46 CEST 2007 - tiwai@suse.de
- initial packages, built from elfutils-0.127. - initial packages, built from elfutils-0.127.
A problematic file regarding the license is removed from the A problematic file regarding the license is removed from the
tarball. tarball.

View File

@ -22,7 +22,7 @@ Release: 0
Summary: Higher-level library to access ELF files Summary: Higher-level library to access ELF files
License: GPL-3.0-or-later License: GPL-3.0-or-later
Group: Development/Tools/Building Group: Development/Tools/Building
Url: http://fedorahosted.org/elfutils/ URL: https://sourceware.org/elfutils/
#Git-Clone: git://sourceware.org/git/elfutils #Git-Clone: git://sourceware.org/git/elfutils
Source: https://fedorahosted.org/releases/e/l/%{name}/%{version}/%{name}-%{version}.tar.bz2 Source: https://fedorahosted.org/releases/e/l/%{name}/%{version}/%{name}-%{version}.tar.bz2
@ -33,7 +33,6 @@ Source3: %{name}.changes
Source5: %{name}.keyring Source5: %{name}.keyring
Patch1: disable-tests-with-ptrace.patch Patch1: disable-tests-with-ptrace.patch
Patch2: cfi-fix.patch Patch2: cfi-fix.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: autoconf BuildRequires: autoconf
BuildRequires: automake BuildRequires: automake
BuildRequires: bison BuildRequires: bison
@ -163,10 +162,10 @@ chmod a+x tests/run*.sh
%make_build %make_build
%install %install
make DESTDIR=$RPM_BUILD_ROOT install %make_install
# remove unneeded files # remove unneeded files
rm -f $RPM_BUILD_ROOT%{_libdir}/*.la rm -f %{buildroot}/%{_libdir}/*.la
ls -lR $RPM_BUILD_ROOT%{_libdir}/libelf* ls -lR %{buildroot}/%{_libdir}/libelf*
%find_lang %{name} %find_lang %{name}
%post -n libasm1 -p /sbin/ldconfig %post -n libasm1 -p /sbin/ldconfig
@ -185,40 +184,33 @@ ls -lR $RPM_BUILD_ROOT%{_libdir}/libelf*
%make_build check %make_build check
%files %files
%defattr(-,root,root)
%license COPYING %license COPYING
%doc AUTHORS ChangeLog NEWS NOTES README THANKS TODO %doc AUTHORS ChangeLog NEWS NOTES README THANKS TODO
%{_bindir}/* %{_bindir}/*
%files -n libasm1 %files -n libasm1
%defattr(-,root,root)
%{_libdir}/libasm.so.* %{_libdir}/libasm.so.*
%{_libdir}/libasm-%{version}.so %{_libdir}/libasm-%{version}.so
%files -n libasm-devel %files -n libasm-devel
%defattr(-,root,root)
%{_libdir}/libasm.so %{_libdir}/libasm.so
%{_libdir}/libasm.a %{_libdir}/libasm.a
%dir %{_includedir}/elfutils %dir %{_includedir}/elfutils
%{_includedir}/elfutils/libasm.h %{_includedir}/elfutils/libasm.h
%files -n libebl-plugins %files -n libebl-plugins
%defattr(-,root,root)
%{_libdir}/elfutils %{_libdir}/elfutils
%files -n libebl-devel %files -n libebl-devel
%defattr(-,root,root)
%{_libdir}/libebl.a %{_libdir}/libebl.a
%dir %{_includedir}/elfutils %dir %{_includedir}/elfutils
%{_includedir}/elfutils/libebl.h %{_includedir}/elfutils/libebl.h
%files -n libelf1 %files -n libelf1
%defattr(-,root,root)
%{_libdir}/libelf.so.* %{_libdir}/libelf.so.*
%{_libdir}/libelf-%{version}.so %{_libdir}/libelf-%{version}.so
%files -n libelf-devel %files -n libelf-devel
%defattr(-,root,root)
%{_libdir}/libelf.so %{_libdir}/libelf.so
%{_libdir}/libelf.a %{_libdir}/libelf.a
%{_includedir}/libelf.h %{_includedir}/libelf.h
@ -230,12 +222,10 @@ ls -lR $RPM_BUILD_ROOT%{_libdir}/libelf*
%{_libdir}/pkgconfig/libelf.pc %{_libdir}/pkgconfig/libelf.pc
%files -n libdw1 %files -n libdw1
%defattr(-,root,root)
%{_libdir}/libdw.so.* %{_libdir}/libdw.so.*
%{_libdir}/libdw-%{version}.so %{_libdir}/libdw-%{version}.so
%files -n libdw-devel %files -n libdw-devel
%defattr(-,root,root)
%{_libdir}/libdw.a %{_libdir}/libdw.a
%{_libdir}/libdw.so %{_libdir}/libdw.so
%{_includedir}/dwarf.h %{_includedir}/dwarf.h