]> TLD Linux GIT Repositories - packages/coreutils.git/commitdiff
- remove locales not available in our current glibc
authorMarcin Krol <hawk@tld-linux.org>
Mon, 18 Apr 2016 06:09:14 +0000 (06:09 +0000)
committerMarcin Krol <hawk@tld-linux.org>
Mon, 18 Apr 2016 06:09:14 +0000 (06:09 +0000)
coreutils.spec

index ec58cdb90a6ef58afec0e5115a894ca58ad2c9c8..97b119073bd1a40b8469fc25f55808cb420c1455 100644 (file)
@@ -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}