[packages/electron] drop empty locales (sync atom.spec)

glen glen at pld-linux.org
Thu Dec 17 22:17:33 CET 2015


commit 36090fbf897eafcccd39f8aca4e82a9ad87cc6b2
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Thu Dec 17 23:17:28 2015 +0200

    drop empty locales (sync atom.spec)

 electron.spec | 3 +++
 1 file changed, 3 insertions(+)
---
diff --git a/electron.spec b/electron.spec
index f4c0844..0895c47 100644
--- a/electron.spec
+++ b/electron.spec
@@ -36,6 +36,9 @@ and Chromium and is used in the Atom editor.
 %{__unzip} %{SOURCE2}
 %endif
 
+# remove empty locales
+find locales -size 0 | xargs rm -v
+
 %install
 rm -rf $RPM_BUILD_ROOT
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/electron.git/commitdiff/36090fbf897eafcccd39f8aca4e82a9ad87cc6b2



More information about the pld-cvs-commit mailing list