From: ankry Date: Wed, 3 Sep 2003 09:50:37 +0000 (+0000) Subject: - next attempt X-Git-Tag: auto/ac/rpm-4_3-0_20030610_22~2 X-Git-Url: http://git.pld-linux.org/?p=packages%2Frpm.git;a=commitdiff_plain;h=62a3765885ab409c10864eefb74e21683f65a5dd - next attempt Changed files: rpm.spec -> 1.470 --- diff --git a/rpm.spec b/rpm.spec index 655a4a2..b310011 100644 --- a/rpm.spec +++ b/rpm.spec @@ -110,7 +110,6 @@ 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 @@ -709,7 +708,7 @@ 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 +for f in $RPM_BUILD_ROOT/%{_datadir}/locale/{en_RN,eu_ES,gl,hu,ro,wa,zh,zh_CN.GB2312}/LC_MESSAGES/rpm.mo ; do [ "`file $f | sed -e 's/.*,//' -e 's/message.*//'`" -le 1 ] && rm -f $f done %find_lang %{name}