have the LC_TIME subdirs with lang macro (#1169027)

This commit is contained in:
Ondřej Vašík 2014-12-01 11:59:25 +01:00 committed by Kamil Dudka
commit 264f71299b

View file

@ -1,7 +1,7 @@
Summary: A set of basic GNU tools commonly used in shell scripts
Name: coreutils
Version: 8.22
Release: 21%{?dist}
Release: 22%{?dist}
License: GPLv3+
Group: System Environment/Base
Url: http://www.gnu.org/software/coreutils/
@ -235,6 +235,8 @@ find %{buildroot}%{_datadir}/locale -type l | \
done)
%find_lang %name
#Add the %lang(xyz) ownership for the LC_TIME dirs as well...
grep LC_TIME %name.lang | cut -d'/' -f1-6 | sed -e 's/) /) %%dir /g' >>%name.lang
# (sb) Deal with Installed (but unpackaged) file(s) found
rm -f $RPM_BUILD_ROOT%{_infodir}/dir
@ -266,7 +268,6 @@ fi
%files -f %{name}.lang
%defattr(-,root,root,-)
%dir %{_datadir}/locale/*/LC_TIME
%config(noreplace) %{_sysconfdir}/DIR_COLORS*
%config(noreplace) %{_sysconfdir}/profile.d/*
%doc ABOUT-NLS ChangeLog.bz2 NEWS README THANKS TODO old/*
@ -379,6 +380,9 @@ fi
%{_sbindir}/chroot
%changelog
* Thu May 14 2015 Kamil Dudka <kdudka@redhat.com> - 8.22-22
- have the LC_TIME subdirs with lang macro (#1169027)
* Thu Oct 23 2014 Adam Williamson <awilliam@redhat.com> - 8.22-21
- revert -20 change: turns out there's a better fix elsewhere