!34 Upgrade to 20210528 to fix CVE-2020-27545 and CVE-2020-28163

From: @panysh 
Reviewed-by: @ruebb 
Signed-off-by: @ruebb
This commit is contained in:
openeuler-ci-bot 2022-08-04 02:10:08 +00:00 committed by Gitee
commit 2b4a4d46b4
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
3 changed files with 7 additions and 3 deletions

Binary file not shown.

BIN
libdwarf-20210528.tar.gz Normal file

Binary file not shown.

View File

@ -1,5 +1,5 @@
Name: libdwarf
Version: 20201020
Version: 20210528
Release: 1
Summary: Library to access DWARF debugging information
License: LGPLv2
@ -32,6 +32,7 @@ Libdwarf-tools contains dwarfdump, a tool to access DWARF debug information.
%prep
%autosetup -n %{name}-%{version} -p1
%build
%configure --enable-shared
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
@ -42,7 +43,6 @@ sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
%make_install
install -d %{buildroot}%{_includedir}/libdwarf
mv %{buildroot}%{_includedir}/*.h %{buildroot}%{_includedir}/libdwarf
%delete_la
%check
@ -57,6 +57,7 @@ LD_LIBRARY_PATH=$PWD/libdwarf/.libs %__make check
%files devel
%defattr(-,root,root)
%{_includedir}/libdwarf
%{_libdir}/libdwarf.so
%{_libdir}/{libdwarf.so,libdwarf.a}
%files tools
@ -72,10 +73,13 @@ LD_LIBRARY_PATH=$PWD/libdwarf/.libs %__make check
%{_mandir}/man1/dwarfdump.1.gz
%changelog
* Tue Jul 26 2022 panys<panyanshuang@nati-gba.cn> - 20210528-1
- upgrade to version 20210528
* Tue Nov 24 2020 SimpleUpdate Robot <tc@openeuler.org> - 20201020-1
- Upgrade to version 20201020
* Fri Jun 21 2020 hanhui<hanhui15@huawei.com> - 20200114
* Sun Jun 21 2020 hanhui<hanhui15@huawei.com> - 20200114
- Mainline branch update to 20200114
* Tue Apr 21 2020 songnannan <songnannan2@huawei.com> - 20200114