kdudka pushed to coreutils (f21). "have the LC_TIME subdirs with lang macro (#1169027)"

notifications at fedoraproject.org notifications at fedoraproject.org
Thu May 14 13:00:29 UTC 2015


From 264f71299b5f97784cc98c7c8143f37693a459bc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Ond=C5=99ej=20Va=C5=A1=C3=ADk?= <ovasik at redhat.com>
Date: Mon, 1 Dec 2014 11:59:25 +0100
Subject: have the LC_TIME subdirs with lang macro (#1169027)


diff --git a/coreutils.spec b/coreutils.spec
index 55434fe..9a19668 100644
--- a/coreutils.spec
+++ b/coreutils.spec
@@ -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 at redhat.com> - 8.22-22
+- have the LC_TIME subdirs with lang macro (#1169027)
+
 * Thu Oct 23 2014 Adam Williamson <awilliam at redhat.com> - 8.22-21
 - revert -20 change: turns out there's a better fix elsewhere
 
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/coreutils.git/commit/?h=f21&id=264f71299b5f97784cc98c7c8143f37693a459bc


More information about the scm-commits mailing list