public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rpm] pmatilai-v6: Update translations
@ 2026-11-23  9:23 Paul Nasrat
  0 siblings, 0 replies; only message in thread
From: Paul Nasrat @ 2026-11-23  9:23 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/rpm
Branch : pmatilai-v6
Commit : 5e135695a36a1f7c59e22c189d9a82d65041aba8
Author : Paul Nasrat <pnasrat@fedoraproject.org>
Date   : 2005-05-24T15:16:00+00:00
Stats  : +17/-6 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/rpm/c/5e135695a36a1f7c59e22c189d9a82d65041aba8?branch=pmatilai-v6

Log:
Update translations

---
diff --git a/rpm.spec b/rpm.spec
index e65f9e7..45e846b 100644
--- a/rpm.spec
+++ b/rpm.spec
@@ -20,9 +20,11 @@ Name: rpm
 %define version 4.4.1
 Version: %{version}
 %{expand: %%define rpm_version %{version}}
-Release: 20
+Release: 21
 Group: System Environment/Base
 Source: ftp://jbj.org/pub/rpm-devel/rpm-%{rpm_version}.tar.gz
+Source1: popt_zh_TW.po
+Source2: popt_zh_CN.po
 Patch0: rpm-4.4.1-posttrans.patch
 Patch1: rpm-4.4.1-gcc4.patch
 Patch2: rpm-4.4.1-hkp-disable.patch
@@ -155,11 +157,11 @@ shell-like rules.
 %patch10 -p1  -b .checklinks
 
 # XXX move zh_CN
-sed -i 's/zh_CN.GB2312/zh_CN/' popt/configure*
-mv po/zh_CN.GB2312.po po/zh_CN.po
-mv popt/po/zh_CN.GB2312.po popt/po/zh_CN.po
-mv popt/po/zh_CN.GB2312.gmo popt/po/zh_CN.gmo
-
+sed -i 's/zh_CN.GB2312/zh_CN zh_TW/' popt/configure*
+mv -f po/zh_CN.GB2312.po po/zh_CN.po
+rm -f popt/po/zh_CN.GB2312.po popt/po/zh_CN.GB2312.gmo
+cp %{SOURCE1} popt/po/zh_CN.po 
+cp %{SOURCE2} popt/po/zh_TW.po 
 
 %build
 
@@ -184,6 +186,12 @@ CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%{__prefix} $WITH_PYTHON \
 	--without-javaglue
 %endif
 
+#XXX build gmo files - remove in next 4.4.x upstream release
+pushd popt/po
+make zh_CN.gmo
+make zh_TW.gmo
+popd
+
 make -C zlib || :
 
 make %{?_smp_mflags}
@@ -551,6 +559,9 @@ exit 0
 %{__includedir}/popt.h
 
 %changelog
+* Tue May 24 2005 Paul Nasrat <pnasrat@redhat.com> - 4.4.1-21
+- Update translations (#154623)
+
 * Sat May 21 2005 Paul Nasrat <pnasrat@redhat.com> - 4.4.1-20
 - Drop signature patch
 - dangling unpackaged symlinks

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-11-23  9:23 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-23  9:23 [rpms/rpm] pmatilai-v6: Update translations Paul Nasrat

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox