From e9be8aa940d70850d4866d6e07d952a17bdc4db3 Mon Sep 17 00:00:00 2001 From: Marcin Krol Date: Mon, 18 Apr 2016 06:09:14 +0000 Subject: [PATCH] - remove locales not available in our current glibc --- coreutils.spec | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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} -- 2.46.0