This commit is contained in:
Jakub Jelinek 2019-12-11 17:36:02 +01:00
parent 164ea59ca2
commit d06f2d32a9
3 changed files with 14 additions and 9 deletions

1
.gitignore vendored
View File

@ -8,3 +8,4 @@
/dwz-0.10.tar.bz2
/dwz-0.11.tar.bz2
/dwz-0.12.tar.bz2
/dwz-0.13.tar.xz

View File

@ -1,13 +1,10 @@
Summary: DWARF optimization and duplicate removal tool
Name: dwz
Version: 0.12
Release: 11%{?dist}
Version: 0.13
Release: 1%{?dist}
License: GPLv2+ and GPLv3+
# git archive --format=tar --remote=git://sourceware.org/git/dwz.git \
# --prefix=%%{name}-%%{version}/ %%{name}-%%{version} \
# | bzip2 -9 > %%{name}-%%{version}.tar.bz2
Source: %{name}-%{version}.tar.bz2
BuildRequires: gcc, elfutils-libelf-devel
Source: https://sourceware.org/ftp/dwz/releases/%{name}-%{version}.tar.xz
BuildRequires: gcc, elfutils-libelf-devel, dejagnu
%description
The dwz package contains a program that attempts to optimize DWARF
@ -19,7 +16,7 @@ DW_TAG_partial_unit compilation units (CUs) for duplicated information
and using DW_TAG_imported_unit to import it into each CU that needs it.
%prep
%setup -q
%setup -q -n dwz
%build
make %{?_smp_mflags} CFLAGS='%{optflags}' LDFLAGS='%{build_ldflags}' \
@ -30,12 +27,19 @@ rm -rf %{buildroot}
make DESTDIR=%{buildroot} prefix=%{_prefix} mandir=%{_mandir} bindir=%{_bindir} \
install
%check
make check
%files
%license COPYING COPYING3 COPYING.RUNTIME
%{_bindir}/dwz
%{_mandir}/man1/dwz.1*
%changelog
* Wed Dec 11 2019 Jakub Jelinek <jakub@redhat.com> 0.13-1
- update to a new upstream release
- add make check
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.12-11
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild

View File

@ -1 +1 @@
1624afa75b94633e03c6e1bb952fb348 dwz-0.12.tar.bz2
SHA512 (dwz-0.13.tar.xz) = 8dc5e647a99ab652fbbed2d37c595a072a2e31198e66f84220d4caf04a9ee0b2900b116932f268b68015e4cc6b49b87313bf1a2d00748d2b3c4799c9ee58c2f4