dwz-vl.spec 6.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184
  1. Summary: DWARF optimization and duplicate removal tool
  2. Summary(ja): DWARF 最適化・重複排除ツール
  3. Name: dwz
  4. Version: 0.14
  5. Release: 4%{?_dist_release}
  6. Group: programming
  7. Vendor: Project Vine
  8. Distribution: Vine Linux
  9. License: GPLv2+ and GPLv3+
  10. URL: https://sourceware.org/dwz/
  11. Source: %{name}-0.14.tar.xz
  12. Patch1: dwz-0.14-binutils-Wn.patch
  13. Patch2: dwz-0.14-binutils-readelf-alt.patch
  14. Patch3: dwz-0.14-gdb-add-index.patch
  15. BuildRequires: gcc, gcc-c++, gdb, elfutils-libelf-devel, dejagnu
  16. BuildRequires: make
  17. %description
  18. The dwz package contains a program that attempts to optimize DWARF
  19. debugging information contained in ELF shared libraries and ELF executables
  20. for size, by replacing DWARF information representation with equivalent
  21. smaller representation where possible and by reducing the amount of
  22. duplication using techniques from DWARF standard appendix E - creating
  23. DW_TAG_partial_unit compilation units (CUs) for duplicated information
  24. and using DW_TAG_imported_unit to import it into each CU that needs it.
  25. %debug_package
  26. %prep
  27. %autosetup -p1 -n dwz
  28. %build
  29. %make_build CFLAGS='%{optflags}' LDFLAGS='%{build_ldflags}' \
  30. prefix=%{_prefix} mandir=%{_mandir} bindir=%{_bindir}
  31. %install
  32. rm -rf %{buildroot}
  33. %make_install prefix=%{_prefix} mandir=%{_mandir} bindir=%{_bindir}
  34. %check
  35. make check
  36. %files
  37. %license COPYING COPYING3 COPYING.RUNTIME
  38. %{_bindir}/dwz
  39. %{_mandir}/man1/dwz.1*
  40. %changelog
  41. * Thu Sep 15 2022 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 0.14-4
  42. - dropped Patch0.
  43. - imported Patches from rawhide.
  44. * Thu Aug 05 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 0.14-3
  45. - initial build for Vine Linux.
  46. - imported Patch0 from upstream.
  47. * Wed Jul 21 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.14-2
  48. - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
  49. * Tue Mar 09 2021 Jakub Jelinek <jakub@redhat.com> 0.14-1
  50. - update to a new upstream release
  51. * Fri Jan 22 2021 Mark Wielaard <mjw@fedoraproject.org> 0.13-7
  52. - Don't crash on DWARF5 .debug_line table with zero files (#1919243)
  53. * Thu Jan 21 2021 Jakub Jelinek <jakub@redhat.com> 0.13-6
  54. - DW_FORM_implicit_const handling fixes (sw#27212, sw#27213)
  55. - temporarily build odr tests with -gdwarf-4 as they are incompatible with
  56. DWARF 5
  57. * Mon Jan 18 2021 Jakub Jelinek <jakub@redhat.com> 0.13-5
  58. - update to latest git snapshot
  59. - DWARF5 support
  60. * Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.13-4
  61. - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
  62. * Mon Jul 13 2020 Tom Stellard <tstellar@redhat.com> - 0.13-3
  63. - Use make macros
  64. - https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro
  65. * Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.13-2
  66. - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
  67. * Wed Dec 11 2019 Jakub Jelinek <jakub@redhat.com> 0.13-1
  68. - update to a new upstream release
  69. - add make check
  70. * Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.12-11
  71. - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
  72. * Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.12-10
  73. - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
  74. * Thu Jul 19 2018 Marek Polacek <polacek@redhat.com> 0.12-9
  75. - remove %{?_isa} from BuildRequires (#1545173)
  76. - add gcc to BuildRequires
  77. * Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.12-8
  78. - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
  79. * Fri Feb 23 2018 Florian Weimer <fweimer@redhat.com> - 0.12-7
  80. - Use LDFLAGS from redhat-rpm-config
  81. * Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.12-6
  82. - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
  83. * Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.12-5
  84. - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
  85. * Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.12-4
  86. - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
  87. * Wed Feb 01 2017 Stephen Gallagher <sgallagh@redhat.com> - 0.12-3
  88. - Add missing %%license macro
  89. * Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.12-2
  90. - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
  91. * Mon Jul 13 2015 Jakub Jelinek <jakub@redhat.com> 0.12-1
  92. - fix up alignment of moved non-allocated sections and section header table
  93. * Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.11-6
  94. - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
  95. * Sat Feb 21 2015 Till Maas <opensource@till.name> - 0.11-5
  96. - Rebuilt for Fedora 23 Change
  97. https://fedoraproject.org/wiki/Changes/Harden_all_packages_with_position-independent_code
  98. * Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.11-4
  99. - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
  100. * Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.11-3
  101. - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
  102. * Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.11-2
  103. - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
  104. * Tue Jul 2 2013 Jakub Jelinek <jakub@redhat.com> 0.11-1
  105. - handle .gdb_index version 8 (#969454)
  106. * Mon Mar 11 2013 Jakub Jelinek <jakub@redhat.com> 0.10-1
  107. - when creating DW_AT_stmt_list, use DW_FORM_sec_offset for dwarf4
  108. and DW_FORM_data4 for dwarf[23] rather than vice versa (#919755)
  109. * Mon Feb 4 2013 Jakub Jelinek <jakub@redhat.com> 0.9-1
  110. - fix up handling of DIE equality if more than one DIE in the same
  111. CU compare equal (#889283)
  112. - check DW_FORM_ref_addr properly during fi_multifile phase
  113. * Thu Nov 29 2012 Jakub Jelinek <jakub@redhat.com> 0.8-1
  114. - fix recompute_abbrevs (#880634)
  115. - optimize DW_FORM_data[48] DW_AT_high_pc that GCC 4.8 produces
  116. * Fri Aug 10 2012 Jakub Jelinek <jakub@redhat.com> 0.7-1
  117. - fix iterative hasing on big-endian targets (#846685)
  118. * Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6-2
  119. - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
  120. * Tue Jul 17 2012 Jakub Jelinek <jakub@redhat.com> 0.6-1
  121. - add --version/-v option support (Matt Newsome)
  122. - fix building on RHEL 5
  123. * Wed Jul 4 2012 Jakub Jelinek <jakub@redhat.com> 0.5-1
  124. - handle .gdb_index version 7
  125. * Fri Jun 22 2012 Jakub Jelinek <jakub@redhat.com> 0.4-1
  126. - fix up DIE counting in low-mem mode for testing the -L limit
  127. * Fri Jun 15 2012 Jakub Jelinek <jakub@redhat.com> 0.3-1
  128. - update to dwz-0.3 (#830863)
  129. * Mon Jun 11 2012 Jakub Jelinek <jakub@redhat.com> 0.2-1
  130. - new package