From: Marcin Krol <hawk@tld-linux.org>
Date: Mon, 18 Apr 2016 06:09:14 +0000 (+0000)
Subject: - remove locales not available in our current glibc
X-Git-Url: https://git.tld-linux.org/?a=commitdiff_plain;h=e9be8aa940d70850d4866d6e07d952a17bdc4db3;p=packages%2Fcoreutils.git

- remove locales not available in our current glibc
---

diff --git a/coreutils.spec b/coreutils.spec
index ec58cdb..97b1190 100644
--- a/coreutils.spec
+++ b/coreutils.spec
@@ -7,7 +7,7 @@ Summary:	GNU Core-utils - basic command line utilities
 Summary(pl.UTF-8):	GNU Core-utils - podstawowe narzędzia działające z linii poleceń
 Name:		coreutils
 Version:	8.25
-Release:	1
+Release:	2
 License:	GPL v3+
 Group:		Applications/System
 Source0:	http://ftp.gnu.org/gnu/coreutils/%{name}-%{version}.tar.xz
@@ -208,6 +208,8 @@ cp -p %{SOURCE6} $RPM_BUILD_ROOT%{_mandir}/pl/man1/mktemp.1
 rm -f $RPM_BUILD_ROOT%{_mandir}/*/man1/{hostname,kill,su,uptime}.1
 # always remove, never packaged but sometimes installed
 rm -f $RPM_BUILD_ROOT%{_infodir}/dir
+# remove locales not available in the system
+rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/sr/LC_TIME
 
 %find_lang %{name}