diff --git a/libdwarf-20201020.tar.gz b/libdwarf-20201020.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..a3cdf3aec8455db4075569a2290c76d39d00c206 Binary files /dev/null and b/libdwarf-20201020.tar.gz differ diff --git a/libdwarf.spec b/libdwarf.spec index d679d5022d362227934bcedf11649f00dae5f9d9..bc12884aed9ab4886619d03e50d7991f06183a8d 100644 --- a/libdwarf.spec +++ b/libdwarf.spec @@ -1,5 +1,5 @@ Name: libdwarf -Version: 20200114 +Version: 20201020 Release: 1 Summary: Library to access DWARF debugging information License: LGPLv2 @@ -72,6 +72,9 @@ LD_LIBRARY_PATH=$PWD/libdwarf/.libs %__make check %{_mandir}/man1/dwarfdump.1.gz %changelog +* Tue Nov 10 2020 SimpleUpdate Robot - 20201020-1 +- Upgrade to version 20201020 + * Fri Jun 21 2020 hanhui - 20200114 - Mainline branch update to 20200114 diff --git a/libdwarf.spec.old b/libdwarf.spec.old new file mode 100644 index 0000000000000000000000000000000000000000..d679d5022d362227934bcedf11649f00dae5f9d9 --- /dev/null +++ b/libdwarf.spec.old @@ -0,0 +1,82 @@ +Name: libdwarf +Version: 20200114 +Release: 1 +Summary: Library to access DWARF debugging information +License: LGPLv2 +URL: http://www.prevanders.net/dwarf.html +Source0: http://www.prevanders.net/%{name}-%{version}.tar.gz +BuildRequires: gcc binutils-devel elfutils-libelf-devel dos2unix + +%description +Libdwarf is a library of functions to provide read/write DWARF +debugging records. + +%package devel +Summary: Library and header files of libdwarf +Requires: %{name} = %{version}-%{release} +Provides: libdwarf-static = %{version}-%{release} +Obsoletes: libdwarf-static < %{version}-%{release} + +%description devel +Libdwarf-devel provides libraries and header files for libdwarf. + +%package tools +Summary: Tools to access the DWARF debugging file format +Requires: %{name} = %{version}-%{release} + +%description tools +Libdwarf-tools contains dwarfdump, a tool to access DWARF debug information. + +%package_help + +%prep +%autosetup -n %{name}-%{version} -p1 + +%build +%configure --enable-shared +sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool +sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool +%make_build + +%install +%make_install +install -d %{buildroot}%{_includedir}/libdwarf +mv %{buildroot}%{_includedir}/*.h %{buildroot}%{_includedir}/libdwarf + +%delete_la + +%check +LD_LIBRARY_PATH=$PWD/libdwarf/.libs %__make check + +%files +%defattr(-,root,root) +%license libdwarf/{COPYING,LIBDWARFCOPYRIGHT,LGPL.txt} +%{_libdir}/libdwarf.so.* +%exclude %{_datadir}/libdwarf + +%files devel +%defattr(-,root,root) +%{_includedir}/libdwarf +%{_libdir}/{libdwarf.so,libdwarf.a} + +%files tools +%defattr(-,root,root) +%doc dwarfdump/{README,ChangeLog} +%license dwarfdump/{COPYING,DWARFDUMPCOPYRIGHT,GPL.txt} +%{_bindir}/dwarfdump +%{_datadir}/dwarfdump/dwarfdump.conf + +%files help +%defattr(-,root,root) +%doc libdwarf/{ChangeLog,README,*.pdf} +%{_mandir}/man1/dwarfdump.1.gz + +%changelog +* Fri Jun 21 2020 hanhui - 20200114 +- Mainline branch update to 20200114 + +* Tue Apr 21 2020 songnannan - 20200114 +- update to 20200114 + +* Tue Nov 05 2019 yanzhihua - 20180809-2 +- Package init