[packages/python-babel] dependencies fixes

jajcus jajcus at pld-linux.org
Mon Jun 15 13:55:45 CEST 2015


commit 4761453f390d7e8396880d2226af6d1cb157fcd2
Author: Jacek Konieczny <j.konieczny at eggsoft.pl>
Date:   Mon Jun 15 13:36:38 2015 +0200

    dependencies fixes
    
    If pytz is not installed during build it would be downloaded.

 python-babel.spec | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/python-babel.spec b/python-babel.spec
index d89b471..4db87f7 100644
--- a/python-babel.spec
+++ b/python-babel.spec
@@ -22,17 +22,20 @@ URL:		http://babel.pocoo.org/
 %if %{with python2}
 BuildRequires:	python-devel
 BuildRequires:	python-devel-tools
-BuildRequires:	python3-setuptools
+BuildRequires:	python-setuptools
+BuildRequires:	python-pytz
 BuildRequires:	rpm-pythonprov
 BuildRequires:	rpmbuild(macros) >= 1.219
 %endif
 %if %{with python3}
 BuildRequires:	python3-devel
+BuildRequires:	python3-devel-tools
 BuildRequires:	python3-setuptools
 BuildRequires:	python3-modules
+BuildRequires:	python3-pytz
 %endif
-
 Requires:	python-modules
+Requires:	python-pytz
 Obsoletes:	python-Babel
 BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -49,6 +52,7 @@ Summary:	Babel Python library
 Summary(pl.UTF-8):	Biblioteka Babel do Pythona
 Group:		Libraries/Python
 Requires:	python3-modules
+Requires:	python3-pytz
 
 %description -n python3-%{module}
 Babel is a Python library that provides an integrated collection of
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-babel.git/commitdiff/8340e96b2a0aa3d9da151688ae23301d901fb4cf



More information about the pld-cvs-commit mailing list