[packages/yum] BR rpm and urlgrabber python modules

glen glen at pld-linux.org
Sat Mar 2 20:46:16 CET 2013


commit 4e8bd04e4408064186a3025f198d41b205f6c30e
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Sat Mar 2 21:45:53 2013 +0200

    BR rpm and urlgrabber python modules

 yum.spec | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/yum.spec b/yum.spec
index 6691821..2206ba4 100644
--- a/yum.spec
+++ b/yum.spec
@@ -38,6 +38,8 @@ Patch14:	no-more-exactarchlist.patch
 URL:		http://yum.baseurl.org/
 BuildRequires:	gettext-devel
 BuildRequires:	intltool
+BuildRequires:	python-rpm
+BuildRequires:	python-urlgrabber
 BuildRequires:	rpm-pythonprov
 BuildRequires:	rpmbuild(macros) >= 1.228
 %if %{with tests}
@@ -131,9 +133,9 @@ touch $RPM_BUILD_ROOT/var/lib/yum/uuid
 
 %py_postclean %{_datadir}/yum-cli
 
-mv $RPM_BUILD_ROOT%{_datadir}/locale/lt{_LT,}
+mv $RPM_BUILD_ROOT%{_localedir}/lt{_LT,}
 # duplicate with id
-rm -r $RPM_BUILD_ROOT%{_datadir}/locale/id_ID
+rm -r $RPM_BUILD_ROOT%{_localedir}/id_ID
 
 %find_lang %{name}
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/yum.git/commitdiff/4e8bd04e4408064186a3025f198d41b205f6c30e



More information about the pld-cvs-commit mailing list