]> git.pld-linux.org Git - packages/rpm.git/commitdiff
- 2nd attempt to fix .po
authorankry <ankry@pld-linux.org>
Wed, 3 Sep 2003 09:25:59 +0000 (09:25 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    rpm.spec -> 1.469

rpm.spec

index 2ffe055483759ec5318c5cdea6331284249f1109..655a4a27220208a6c5dd753d49a7ed67965e5e5f 100644 (file)
--- a/rpm.spec
+++ b/rpm.spec
@@ -110,6 +110,7 @@ BuildRequires:      python-devel >= 2.2
 BuildRequires: python-modules >= 2.2
 BuildRequires: rpm-perlprov
 BuildRequires: rpm-pythonprov
+BuildRequires: sed
 BuildRequires: zlib-devel
 %if %{!?_without_static:1}0
 # Require static library only for static build
@@ -708,6 +709,9 @@ for a in librpm-%{ver}.so librpmdb-%{ver}.so librpmio-%{ver}.so ; do
        ln -s /lib/$a $RPM_BUILD_ROOT%{_libdir}/$a
 done
 
+for f in po/{en_RN,eu_ES,gl,hu,ro,wa,zh,zh_CN.GB2312}.po ; do
+       [ "`file $f | sed -e 's/.*,//' -e 's/message.*//'`" -le 1 ] && rm -f $f
+done
 %find_lang %{name}
 
 rm -rf manual
This page took 0.038593 seconds and 4 git commands to generate.