From e9c4d62f1d1330205dd7ff5333e4a9e17a463ab2 Mon Sep 17 00:00:00 2001 From: Petr Kubat Date: Aug 21 2019 09:45:10 +0000 Subject: Use relative path for COPYING files so that rpm moves them to correct place Related: rhbz#1741074 --- diff --git a/xz.spec b/xz.spec index 180603c..640e89b 100644 --- a/xz.spec +++ b/xz.spec @@ -4,7 +4,7 @@ Summary: LZMA compression utilities Name: xz Version: 5.2.4 -Release: 6%{?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 @@ -122,7 +122,7 @@ LD_LIBRARY_PATH=$PWD/src/liblzma/.libs make check %files -f %{name}.lang -%license %{_pkgdocdir}/COPYING* +%license COPYING* %doc %{_pkgdocdir} %exclude %_pkgdocdir/examples* %{_bindir}/*xz* @@ -131,12 +131,12 @@ LD_LIBRARY_PATH=$PWD/src/liblzma/.libs make check %files libs -%license %{_pkgdocdir}/COPYING +%license COPYING %{_libdir}/lib*.so.5* %files static -%license %{_pkgdocdir}/COPYING +%license COPYING %{_libdir}/liblzma.a @@ -155,6 +155,10 @@ LD_LIBRARY_PATH=$PWD/src/liblzma/.libs make check %changelog +* Wed Aug 21 2019 Petr Kubat - 5.2.4-7 +- Use relative path for COPYING files so that rpm moves them to correct place + Related: rhbz#1741074 + * Sat Jul 27 2019 Fedora Release Engineering - 5.2.4-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild