This commit is contained in:
zhanliwen 2020-07-27 19:35:55 +08:00
parent 537ea81ddd
commit f0361c6c46
3 changed files with 20 additions and 7 deletions

Binary file not shown.

BIN
dwz-0.13.tar.xz Normal file

Binary file not shown.

View File

@ -1,11 +1,11 @@
Name: dwz Name: dwz
Version: 0.12 Version: 0.13
Release: 11 Release: 1
Summary: A DWARF optimization and duplicate removal tool Summary: A DWARF optimization and duplicate removal tool
License: GPLv2+ and GPLv3+ License: GPLv2+ and GPLv3+
URL: https://sourceware.org/dwz/ URL: https://sourceware.org/dwz/
Source0: %{name}-%{version}.tar.bz2 Source0:https://sourceware.org/ftp/dwz/releases/%{name}-%{version}.tar.xz
BuildRequires:gcc elfutils-libelf-devel BuildRequires:gcc elfutils-libelf-devel dejagnu
%description %description
The package contains a program that attempts to optimize DWARF debugging The package contains a program that attempts to optimize DWARF debugging
@ -19,13 +19,18 @@ using DW_TAG_imported_unit to import it into each CU that needs it.
%package_help %package_help
%prep %prep
%autosetup -n %{name}-%{version} %autosetup -n %{name}
%build %build
%make_build make %{?_smp_mflags} CFLAGS='%{optflags}' LDFLAGS='%{build_ldflags}' \
prefix=%{_prefix} mandir=%{_mandir} bindir=%{_bindir}
#%%make_build
%install %install
%make_install #%rm -rf %{buildroot}
make DESTDIR=%{buildroot} prefix=%{_prefix} mandir=%{_mandir} bindir=%{_bindir} \
install
#%%make_install
%pre %pre
@ -34,6 +39,8 @@ using DW_TAG_imported_unit to import it into each CU that needs it.
%post %post
%postun %postun
%check
make check
%files %files
%defattr(-,root,root,-) %defattr(-,root,root,-)
@ -44,6 +51,12 @@ using DW_TAG_imported_unit to import it into each CU that needs it.
%{_mandir}/man1/dwz* %{_mandir}/man1/dwz*
%changelog %changelog
* Mon Jul 27 2020wenzhanli<wenzhanli2@huawei.com> - 0.13-1
- Type:bugfix
- ID:NA
- SUG:NA
- DESC:version update 0.13
* Fri Sep 27 2019 chengquan<chengquan3@huawei.com> - 0.12-11 * Fri Sep 27 2019 chengquan<chengquan3@huawei.com> - 0.12-11
- Type:bugfix - Type:bugfix
- ID:NA - ID:NA