From e96187597bd003c3246c4b7aa35c4d474481940d Mon Sep 17 00:00:00 2001 From: Pavel Raiskup Date: Apr 07 2014 10:53:00 +0000 Subject: translation: fix for RU Thanks: Igor Zubkov Resolves: #1075510 Version: 2.11-26 --- 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 c211077..5c190b9 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 -v @@ -75,6 +81,8 @@ autoreconf -v 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 - 2.11-25 - fix manual page to warn users about inode truncation (#952313) +- fix for RU translation (#1075510) * Mon Sep 30 2013 Pavel Raiskup - 2.11-24 - properly trim "crc" checksum to 32 bits (#1001965)