From 62a3765885ab409c10864eefb74e21683f65a5dd Mon Sep 17 00:00:00 2001 From: ankry Date: Wed, 3 Sep 2003 09:50:37 +0000 Subject: [PATCH] - next attempt Changed files: rpm.spec -> 1.470 --- rpm.spec | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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} -- 2.43.0