Summary: C library for manipulating tar files Name: libtar Version: 1.2.20 Release: 6%{?dist} URL: https://github.com/tklauser/libtar License: MIT Group: System Environment/Libraries Vendor: VMware, Inc. Distribution: Photon Source0: https://github.com/tklauser/libtar/archive/refs/tags/%{name}-%{version}.tar.gz %define sha512 %{name}=11a12695abf4f9668801d24b7b552daed1219b2f395c09818d15e16721f7136d63aa0c09e442401e4fedbf7335748f0dc46f8da21b94b36595910b2fe44d4aea Patch0: libtar-gen-debuginfo.patch Patch1: libtar-CVE-2013-4420.patch Provides: libtar.so.0()(64bit) %description libtar is a library for manipulating tar files from within C programs. %package devel Summary: Development files for libtar Group: Development/Libraries Requires: %{name} = %{version}-%{release} %description devel The litar-devel package contains libraries and header files for developing applications that use libtar. %prep # Using autosetup is not feasible %setup %patch0 %patch1 -p1 autoreconf -iv %build %configure CFLAGS="%{optflags}" STRIP=/bin/true --disable-static %make_build %install %make_install %{?_smp_mflags} %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(-,root,root) %{_bindir}/libtar %{_libdir}/libtar.so.* %files devel %defattr(-,root,root) %{_includedir}/* %{_mandir}/man3/* %{_libdir}/libtar.so %changelog * Sun Aug 07 2022 Shreenidhi Shedi 1.2.20-6 - Remove .la files * Thu Nov 02 2017 Xiaolin Li 1.2.20-5 - Fix CVE-2013-4420 * Thu Jun 29 2017 Chang Lee 1.2.20-4 - Removed %check due to no test existence. * Tue Apr 25 2017 Priyesh Padmavilasom 1.2.20-3 - Ensure non empty debuginfo * Fri Mar 10 2017 Xiaolin Li 1.2.20-2 - Provides libtar.so.0()(64bit). * Fri Mar 03 2017 Xiaolin Li 1.2.20-1 - Initial packaging for Photon