diff --git a/sources b/sources index 6289517..f22f87c 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -60fb79cab777e3f71ca43d298adacbd5 xz-5.2.3.tar.xz +SHA512 (xz-5.2.3.tar.xz) = a5b8f3c402ec3df5c1875a32081136606dd7701190d8b8091bae1bac36553ebe3480985c8069bf5d9e24f374ea64b1fe22614d3eebac1c10e5d609701bceca95 diff --git a/xz.spec b/xz.spec index ecd82e6..1f5e7ed 100644 --- a/xz.spec +++ b/xz.spec @@ -4,13 +4,12 @@ Summary: LZMA compression utilities Name: xz Version: 5.2.3 -Release: 4%{?dist} +Release: 7%{?dist} # Scripts xz{grep,diff,less,more} and symlinks (copied from gzip) are # GPLv2+, binaries are Public Domain (linked against LGPL getopt_long but its # OK), documentation is Public Domain. License: GPLv2+ and Public Domain -Group: Applications/File # official upstream release Source0: http://tukaani.org/%{name}/%{name}-%{version}.tar.xz @@ -40,7 +39,6 @@ decompression speed fast. %package libs Summary: Libraries for decoding LZMA compression -Group: System Environment/Libraries License: Public Domain Obsoletes: %{name}-compat-libs < %{version}-%{release} @@ -49,7 +47,6 @@ Libraries for decoding files compressed with LZMA or XZ utils. %package static Summary: Statically linked library for decoding LZMA compression -Group: System Environment/Libraries License: Public Domain %description static @@ -58,17 +55,14 @@ XZ utils. Most users should *not* install this. %package devel Summary: Devel libraries & headers for liblzma -Group: Development/Libraries License: Public Domain Requires: %{name}-libs%{?_isa} = %{version}-%{release} -Requires: pkgconfig %description devel Devel libraries and headers for liblzma. %package lzma-compat Summary: Older LZMA format compatibility binaries -Group: Development/Libraries # Just a set of symlinks to 'xz' + two Public Domain binaries. License: Public Domain Requires: %{name}%{?_isa} = %{version}-%{release} @@ -80,7 +74,7 @@ The lzma-compat package contains compatibility links for older commands that deal with the older LZMA format. %prep -%setup -q +%autosetup for i in `find . -name config.sub`; do perl -pi -e "s/ppc64-\*/ppc64-\* \| ppc64p7-\*/" $i @@ -96,10 +90,10 @@ export CFLAGS %configure 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 %{?_smp_mflags} +%make_build %install -make install DESTDIR=%{buildroot} +%make_install rm -f %{buildroot}%{_libdir}/*.la # xzgrep colorization @@ -113,9 +107,7 @@ install -p -m 644 %{SOURCE101} %{buildroot}%{profiledir} %check LD_LIBRARY_PATH=$PWD/src/liblzma/.libs make check -%post libs -p /sbin/ldconfig - -%postun libs -p /sbin/ldconfig +%ldconfig_scriptlets libs %files -f %{name}.lang %license %{_pkgdocdir}/COPYING* @@ -146,6 +138,15 @@ LD_LIBRARY_PATH=$PWD/src/liblzma/.libs make check %{_mandir}/man1/*lz* %changelog +* Fri Feb 09 2018 Fedora Release Engineering - 5.2.3-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Fri Feb 02 2018 Igor Gnatenko - 5.2.3-6 +- Switch to %%ldconfig_scriptlets + +* Wed Sep 13 2017 Vasiliy N. Glazov - 5.2.3.-5 +- Cleanup spec + * Thu Aug 03 2017 Fedora Release Engineering - 5.2.3-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild