Own the %{_libexecdir}/coreutils dir

According to Fedora Packaging Guidelines, packages must own all
directories they put files in.

Bug: https://bugzilla.redhat.com/show_bug.cgi?id=1483938
This commit is contained in:
Ville Skyttä 2017-08-22 13:27:26 +03:00 committed by Kamil Dudka
parent d2d5d5d057
commit 3490621545

View File

@ -1,7 +1,7 @@
Summary: A set of basic GNU tools commonly used in shell scripts Summary: A set of basic GNU tools commonly used in shell scripts
Name: coreutils Name: coreutils
Version: 8.27 Version: 8.27
Release: 15%{?dist} Release: 16%{?dist}
License: GPLv3+ License: GPLv3+
Group: System Environment/Base Group: System Environment/Base
Url: https://www.gnu.org/software/coreutils/ Url: https://www.gnu.org/software/coreutils/
@ -274,11 +274,13 @@ fi
%files -f supported_utils %files -f supported_utils
%exclude %{_bindir}/*.single %exclude %{_bindir}/*.single
%dir %{_libexecdir}/coreutils
%{_libexecdir}/coreutils/*.so %{_libexecdir}/coreutils/*.so
%files single %files single
%{_bindir}/*.single %{_bindir}/*.single
%{_sbindir}/chroot.single %{_sbindir}/chroot.single
%dir %{_libexecdir}/coreutils
%{_libexecdir}/coreutils/*.so.single %{_libexecdir}/coreutils/*.so.single
# duplicate the license because coreutils-common does not need to be installed # duplicate the license because coreutils-common does not need to be installed
%{!?_licensedir:%global license %%doc} %{!?_licensedir:%global license %%doc}
@ -294,6 +296,9 @@ fi
%license COPYING %license COPYING
%changelog %changelog
* Tue Aug 22 2017 Ville Skyttä <ville.skytta@iki.fi> - 8.27-16
- Own the %%{_libexecdir}/coreutils dir
* Fri Aug 18 2017 Kamil Dudka <kdudka@redhat.com> - 8.27-15 * Fri Aug 18 2017 Kamil Dudka <kdudka@redhat.com> - 8.27-15
- ptx: fix a possible crash caused by integer overflow (#1482445) - ptx: fix a possible crash caused by integer overflow (#1482445)