diff --git a/dwz-0.14.tar.xz b/dwz-0.14.tar.xz deleted file mode 100644 index 3d6789fa0c184db8bf86243f17c6702be4a6637a..0000000000000000000000000000000000000000 Binary files a/dwz-0.14.tar.xz and /dev/null differ diff --git a/dwz-0.15.tar.xz b/dwz-0.15.tar.xz new file mode 100644 index 0000000000000000000000000000000000000000..d293ea07776b0fe2bc984c366466c493bb9eeea5 Binary files /dev/null and b/dwz-0.15.tar.xz differ diff --git a/dwz.spec b/dwz.spec index fa37896b26fb53c3aed26931eca7aed5d416f2ec..1c541811cb005285d9e93251c8d16733d443c8d4 100644 --- a/dwz.spec +++ b/dwz.spec @@ -1,14 +1,12 @@ Name: dwz -Version: 0.14 -Release: 5 -Summary: A DWARF optimization and duplicate removal tool +Version: 0.15 +Release: 1 +Summary: DWARF optimization and duplicate removal tool License: GPLv2+ and GPLv3+ URL: https://sourceware.org/dwz/ -Source0:https://sourceware.org/ftp/dwz/releases/%{name}-%{version}.tar.xz -BuildRequires:gcc gcc-c++ gdb elfutils-libelf-devel dejagnu - -Patch1: testsuite-Handle-readelf-following-links-by-default.patch -Patch2: backport-Redirect-stder-in-gdb-add-index.sh-test.patch +Source: https://sourceware.org/ftp/dwz/releases/%{name}-%{version}.tar.xz +BuildRequires: gcc, gcc-c++, gdb, elfutils-libelf-devel, dejagnu +BuildRequires: make elfutils xxhash-devel %description The package contains a program that attempts to optimize DWARF debugging @@ -25,15 +23,12 @@ using DW_TAG_imported_unit to import it into each CU that needs it. %autosetup -n %{name} -p1 %build -make %{?_smp_mflags} CFLAGS='%{optflags}' LDFLAGS='%{build_ldflags}' \ +%make_build CFLAGS='%{optflags}' LDFLAGS='%{build_ldflags}' \ prefix=%{_prefix} mandir=%{_mandir} bindir=%{_bindir} -#%%make_build %install -#%rm -rf %{buildroot} -make DESTDIR=%{buildroot} prefix=%{_prefix} mandir=%{_mandir} bindir=%{_bindir} \ - install -#%%make_install +rm -rf %{buildroot} +%make_install prefix=%{_prefix} mandir=%{_mandir} bindir=%{_bindir} %pre @@ -51,9 +46,12 @@ make check %{_bindir}/dwz %files help -%{_mandir}/man1/dwz* +%{_mandir}/man1/dwz.1* %changelog +* Tue Jan 31 2023 Cao Jingbo - 0.15-1 +- update 0.15. + * Tue Jan 10 2023 dongyuzhen - 0.14-5 - fix the testcase fail