commit c7cd5d1010fd96ba221017068e417174e7498aca
Author: Jakub Bogusz <[email protected]>
Date:   Wed Jan 1 19:27:01 2014 +0100

    - removed unused find_lang_figures func

 mate-applets.spec | 15 ---------------
 1 file changed, 15 deletions(-)
---
diff --git a/mate-applets.spec b/mate-applets.spec
index 2ab331f..59f05f4 100644
--- a/mate-applets.spec
+++ b/mate-applets.spec
@@ -404,21 +404,6 @@ rm -rf $RPM_BUILD_ROOT
 # outdated version of es (as of 1.6.1)
 %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/es_ES
 
-find_lang_figures() {
-       file="$(pwd)/${1}.lang"
-       shift
-       for glob in $* ; do
-               for f in $(echo 
$RPM_BUILD_ROOT%{_datadir}/mate/help/*/figures/$glob) ; do
-                       l="$(echo "$f" | sed -e 
's,.*%{_datadir}/mate/help/\([^/]\+\)/figures/.*,\1,')"
-                       if [ "$l" = "C" ]; then
-                               echo "${f#$RPM_BUILD_ROOT}"
-                       else
-                               echo "%lang($l) ${f#$RPM_BUILD_ROOT}"
-                       fi
-               done
-       done >>"$file"
-}
-
 %find_lang %{name}
 %find_lang mate-accessx-status --with-mate --with-omf
 %find_lang mate-battstat --with-mate --with-omf
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/mate-applets.git/commitdiff/c7cd5d1010fd96ba221017068e417174e7498aca

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to