Use relative path for COPYING files so that rpm moves them to correct place
Related: rhbz#1741074
This commit is contained in:
parent
f8dce18f57
commit
e9c4d62f1d
12
xz.spec
12
xz.spec
@ -4,7 +4,7 @@
|
|||||||
Summary: LZMA compression utilities
|
Summary: LZMA compression utilities
|
||||||
Name: xz
|
Name: xz
|
||||||
Version: 5.2.4
|
Version: 5.2.4
|
||||||
Release: 6%{?dist}
|
Release: 7%{?dist}
|
||||||
|
|
||||||
# Scripts xz{grep,diff,less,more} and symlinks (copied from gzip) are
|
# Scripts xz{grep,diff,less,more} and symlinks (copied from gzip) are
|
||||||
# GPLv2+, binaries are Public Domain (linked against LGPL getopt_long but its
|
# 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
|
%files -f %{name}.lang
|
||||||
%license %{_pkgdocdir}/COPYING*
|
%license COPYING*
|
||||||
%doc %{_pkgdocdir}
|
%doc %{_pkgdocdir}
|
||||||
%exclude %_pkgdocdir/examples*
|
%exclude %_pkgdocdir/examples*
|
||||||
%{_bindir}/*xz*
|
%{_bindir}/*xz*
|
||||||
@ -131,12 +131,12 @@ LD_LIBRARY_PATH=$PWD/src/liblzma/.libs make check
|
|||||||
|
|
||||||
|
|
||||||
%files libs
|
%files libs
|
||||||
%license %{_pkgdocdir}/COPYING
|
%license COPYING
|
||||||
%{_libdir}/lib*.so.5*
|
%{_libdir}/lib*.so.5*
|
||||||
|
|
||||||
|
|
||||||
%files static
|
%files static
|
||||||
%license %{_pkgdocdir}/COPYING
|
%license COPYING
|
||||||
%{_libdir}/liblzma.a
|
%{_libdir}/liblzma.a
|
||||||
|
|
||||||
|
|
||||||
@ -155,6 +155,10 @@ LD_LIBRARY_PATH=$PWD/src/liblzma/.libs make check
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Aug 21 2019 Petr Kubat <pkubat@redhat.com> - 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 <releng@fedoraproject.org> - 5.2.4-6
|
* Sat Jul 27 2019 Fedora Release Engineering <releng@fedoraproject.org> - 5.2.4-6
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user