commit a19af47f23cb1d2dca012b28085560c98baf97a9
Author: Elan Ruusamäe <[email protected]>
Date:   Wed Jan 20 23:05:31 2016 +0200

    find-lang: v1.38
    
    restore .qm files from /usr/share from
    59c9ed8f8968ff427964670e3d782ac458ef5d38
    
    like clementine:
    /usr/share/locale/bg/LC_MESSAGES/clementine.qm
    
    the find-lang.sh is crazy, it should be rewritten with something more
    readable!

 find-lang.sh          | 3 ++-
 rpm-build-macros.spec | 4 ++--
 2 files changed, 4 insertions(+), 3 deletions(-)
---
diff --git a/rpm-build-macros.spec b/rpm-build-macros.spec
index 718c585..5c52175 100644
--- a/rpm-build-macros.spec
+++ b/rpm-build-macros.spec
@@ -1,10 +1,10 @@
 %define                rpm_macros_rev  1.714
-%define                find_lang_rev   1.37
+%define                find_lang_rev   1.38
 Summary:       PLD Linux RPM build macros
 Summary(pl.UTF-8):     Makra do budowania pakietów RPM dla Linuksa PLD
 Name:          rpm-build-macros
 Version:       %{rpm_macros_rev}
-Release:       1
+Release:       2
 License:       GPL
 Group:         Development/Building
 Source0:       rpm.macros
diff --git a/find-lang.sh b/find-lang.sh
index a2b50e7..189cb62 100755
--- a/find-lang.sh
+++ b/find-lang.sh
@@ -36,7 +36,7 @@
 #   * start support for KDE help files
 
 PROG=${0##*/}
-VERSION=1.37
+VERSION=1.38
 
 usage () {
 cat <<EOF
@@ -218,6 +218,7 @@ s:%lang(C) ::' >> $MO_NAME
        fi
 ) | sed '
 
'"$NO_ALL_NAME$QM"'s:\(.*/'"$NAME"'_\([a-zA-Z]\{2\}\([_@].*\)\?\)\.qm$\):%lang(\2)
 \1:
+'"$NO_ALL_NAME$QM"'s:\(.*/share/locale/\)\([^/@]\+\)\(@quot\|@boldquot\)\?\(@[^/]*\)\?\(/.*/'"$NAME"'\.qm$\):%lang(\2\4)
 \1\2\3\4\5:
 '"$ALL_NAME$QM"'s:\(.*/[^/_]\+_\([a-zA-Z]\{2\}[_@].*\)\.qm$\):%lang(\2) \1:
 '"$ALL_NAME$QM"'s:\(.*/[^/_]\+_\([a-zA-Z]\{2\}\)\.qm$\):%lang(\2) \1:
 '"$ALL_NAME$QM"'s:^\([^%].*/[^/]\+_\([a-zA-Z]\{2\}[_@].*\)\.qm$\):%lang(\2) \1:
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/rpm-build-macros.git/commitdiff/a19af47f23cb1d2dca012b28085560c98baf97a9

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

Reply via email to