SPECS: koffice-module-l10n.spec - help deviloper by removing empty...
glen
glen at pld-linux.org
Mon Nov 6 12:40:06 CET 2006
Author: glen Date: Mon Nov 6 11:40:06 2006 GMT
Module: SPECS Tag: HEAD
---- Log message:
- help deviloper by removing empty files
---- Files affected:
SPECS:
koffice-module-l10n.spec (1.27 -> 1.28)
---- Diffs:
================================================================
Index: SPECS/koffice-module-l10n.spec
diff -u SPECS/koffice-module-l10n.spec:1.27 SPECS/koffice-module-l10n.spec:1.28
--- SPECS/koffice-module-l10n.spec:1.27 Mon Nov 6 01:02:55 2006
+++ SPECS/koffice-module-l10n.spec Mon Nov 6 12:40:00 2006
@@ -344,6 +344,13 @@
kde_libs_htmldir="%{_kdedocdir}"
cd ..
done
+
+ # remove zero-length file
+ find $RPM_BUILD_ROOT%{_kdedocdir} -size 0 -print0 | xargs -0 rm -vf
+
+ # remove empty language catalogs (= 1 message only)
+ find $RPM_BUILD_ROOT%{_datadir}/locale -type f -name '*.mo' | xargs file | egrep ', 1 messages$' | cut -d: -f1 | xargs rm -vf
+
touch installed.stamp
fi
@@ -457,6 +464,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.28 2006/11/06 11:40:00 glen
+- help deviloper by removing empty files
+
Revision 1.27 2006/11/06 00:02:55 glen
- fixed sources
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/koffice-module-l10n.spec?r1=1.27&r2=1.28&f=u
More information about the pld-cvs-commit
mailing list