Blame SPECS/dwz.spec

aadc70
%{?scl:%scl_package gcc}
aadc70
Summary: DWARF optimization and duplicate removal tool
aadc70
Name: %{?scl_prefix}dwz
aadc70
Version: 0.12
b526c4
Release: 1.1%{?dist}
aadc70
License: GPLv2+ and GPLv3+
aadc70
Group: Development/Tools
aadc70
# git archive --format=tar --remote=git://sourceware.org/git/dwz.git \
aadc70
#   --prefix=dwz-%{version}/ dwz-%{version} \
aadc70
#   | bzip2 -9 > dwz-%{version}.tar.bz2
aadc70
Source: dwz-%{version}.tar.bz2
aadc70
BuildRoot: %(mktemp -ud %{_tmppath}/dwz-%{version}-%{release}-XXXXXX)
aadc70
BuildRequires: elfutils-libelf-devel%{?_isa}
aadc70
%{?scl:Requires:%scl_runtime}
aadc70
aadc70
%description
aadc70
The dwz package contains a program that attempts to optimize DWARF
aadc70
debugging information contained in ELF shared libraries and ELF executables
aadc70
for size, by replacing DWARF information representation with equivalent
aadc70
smaller representation where possible and by reducing the amount of
aadc70
duplication using techniques from DWARF standard appendix E - creating
aadc70
DW_TAG_partial_unit compilation units (CUs) for duplicated information
aadc70
and using DW_TAG_imported_unit to import it into each CU that needs it.
aadc70
aadc70
%prep
aadc70
%setup -q -n dwz-%{version}
aadc70
aadc70
%build
aadc70
make %{?_smp_mflags} CFLAGS='%{optflags}' prefix=%{_prefix} \
aadc70
  mandir=%{_mandir} bindir=%{_bindir}
aadc70
aadc70
%install
aadc70
rm -rf %{buildroot}
aadc70
make DESTDIR=%{buildroot} prefix=%{_prefix} mandir=%{_mandir} bindir=%{_bindir} \
aadc70
  install
aadc70
aadc70
%clean
aadc70
rm -rf %{buildroot}
aadc70
aadc70
%files
aadc70
%defattr(-,root,root)
aadc70
%doc COPYING COPYING3 COPYING.RUNTIME
aadc70
%{_bindir}/dwz
aadc70
%{_mandir}/man1/dwz.1*
aadc70
aadc70
%changelog
b526c4
* Tue Feb 20 2018 Marek Polacek <polacek@redhat.com> 0.12-1.1
b526c4
- add .1 to Release
b526c4
aadc70
* Tue Jul 14 2015 Jakub Jelinek <jakub@redhat.com> 0.12-1
aadc70
- fix up alignment of moved non-allocated sections and section header table
aadc70
b526c4
* Wed May 21 2014 Marek Polacek <polacek@redhat.com> 0.11-1.1
aadc70
- add .1 to Release
aadc70
aadc70
* Tue Jul  2 2013 Jakub Jelinek <jakub@redhat.com> 0.11-1
aadc70
- handle .gdb_index version 8 (#969454)
aadc70
aadc70
* Mon Mar 11 2013 Jakub Jelinek <jakub@redhat.com> 0.10-1
aadc70
- when creating DW_AT_stmt_list, use DW_FORM_sec_offset for dwarf4
aadc70
  and DW_FORM_data4 for dwarf[23] rather than vice versa (#919755)
aadc70
aadc70
* Mon Feb  4 2013 Jakub Jelinek <jakub@redhat.com> 0.9-1
aadc70
- fix up handling of DIE equality if more than one DIE in the same
aadc70
  CU compare equal (#889283)
aadc70
- check DW_FORM_ref_addr properly during fi_multifile phase
aadc70
aadc70
* Thu Nov 29 2012 Jakub Jelinek <jakub@redhat.com> 0.8-1
aadc70
- fix recompute_abbrevs (#880634)
aadc70
- optimize DW_FORM_data[48] DW_AT_high_pc that GCC 4.8 produces
aadc70
aadc70
* Fri Aug 10 2012 Jakub Jelinek <jakub@redhat.com> 0.7-1
aadc70
- fix iterative hasing on big-endian targets (#846685)
aadc70
aadc70
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6-2
aadc70
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
aadc70
aadc70
* Tue Jul 17 2012 Jakub Jelinek <jakub@redhat.com> 0.6-1
aadc70
- add --version/-v option support (Matt Newsome)
aadc70
- fix building on RHEL 5
aadc70
aadc70
* Wed Jul  4 2012 Jakub Jelinek <jakub@redhat.com> 0.5-1
aadc70
- handle .gdb_index version 7
aadc70
aadc70
* Fri Jun 22 2012 Jakub Jelinek <jakub@redhat.com> 0.4-1
aadc70
- fix up DIE counting in low-mem mode for testing the -L limit
aadc70
aadc70
* Fri Jun 15 2012 Jakub Jelinek <jakub@redhat.com> 0.3-1
aadc70
- update to dwz-0.3 (#830863)
aadc70
aadc70
* Mon Jun 11 2012 Jakub Jelinek <jakub@redhat.com> 0.2-1
aadc70
- new package