[cpio] translation: fix for RU

Pavel Raiskup praiskup at fedoraproject.org
Mon Apr 7 08:34:43 UTC 2014


commit 8457d4da06379a44e2246dd0a0b8ce32e14d67d8
Author: Pavel Raiskup <praiskup at redhat.com>
Date:   Mon Apr 7 10:05:57 2014 +0200

    translation: fix for RU
    
    Thanks: Igor Zubkov
    Resolves: #1075510
    Version: 2.11-26

 cpio-2.11-ru-translation.patch |   13 +++++++++++++
 cpio.spec                      |    9 +++++++++
 2 files changed, 22 insertions(+), 0 deletions(-)
---
diff --git a/cpio-2.11-ru-translation.patch b/cpio-2.11-ru-translation.patch
new file mode 100644
index 0000000..f05ab7a
--- /dev/null
+++ b/cpio-2.11-ru-translation.patch
@@ -0,0 +1,13 @@
+diff --git a/po/ru.po b/po/ru.po
+index 8bb24e2..39110a3 100644
+--- a/po/ru.po
++++ b/po/ru.po
+@@ -1132,7 +1132,7 @@ msgid ""
+ "You must specify one of -oipt options.\n"
+ "Try `%s --help' or `%s --usage' for more information.\n"
+ msgstr ""
+-"Необходимо указать один из апарметров -oipt.\n"
++"Необходимо указать один из параметров -oipt.\n"
+ "Попробуйте указать `%s --help' или `%s --usage',\n"
+ "чтобы получить дополнительную информацию.\n"
+ 
diff --git a/cpio.spec b/cpio.spec
index 563ee70..b0dff58 100644
--- a/cpio.spec
+++ b/cpio.spec
@@ -35,6 +35,11 @@ Patch9: cpio-2.11-crc-large-files.patch
 # ~> http://lists.gnu.org/archive/html/bug-cpio/2013-09/msg00005.html
 Patch10: cpio-2.11-treat-read-errors.patch
 
+# Small typo in RU translation
+# ~> #1075510
+# ~> downstream?
+Patch11: cpio-2.11-ru-translation.patch
+
 Requires(post): /sbin/install-info
 Requires(preun): /sbin/install-info
 Provides: bundled(gnulib)
@@ -68,6 +73,7 @@ Install cpio if you need a program to manage file archives.
 %patch8 -p1 -b .sum32-fips
 %patch9 -p1 -b .crc-big-files
 %patch10 -p1 -b .treat-read-errors
+%patch11 -p1 -b .ru-translation
 
 autoreconf -vfi
 
@@ -75,6 +81,8 @@ autoreconf -vfi
 export CFLAGS="$RPM_OPT_FLAGS -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -pedantic -fno-strict-aliasing -Wall $CFLAGS"
 %configure --with-rmt="%{_sysconfdir}/rmt"
 make %{?_smp_mflags}
+(cd po && make update-gmo)
+
 
 %install
 rm -rf ${RPM_BUILD_ROOT}
@@ -118,6 +126,7 @@ fi
 %changelog
 * Mon Apr 07 2014 Pavel Raiskup <praiskup at redhat.com> - 2.11-26
 - fix manual page to warn users about inode truncation (#952313)
+- fix for RU translation (#1075510)
 
 * Tue Nov 12 2013 Pavel Raiskup <praiskup at redhat.com> - 2.11-25
 - fix build for ppc64le (#1029540)


More information about the scm-commits mailing list