From: Jakub Bogusz Date: Thu, 12 May 2016 18:41:18 +0000 (+0200) Subject: - updated to 2.3.4 X-Git-Tag: auto/th/python-babel-2.3.4-1 X-Git-Url: http://git.pld-linux.org/gitweb.cgi?p=packages%2Fpython-babel.git;a=commitdiff_plain;h=8f729458f2a4b9aedde80ab1ad6ad02272e94c1d - updated to 2.3.4 --- diff --git a/python-babel.spec b/python-babel.spec index 60f5fa4..e3ea085 100644 --- a/python-babel.spec +++ b/python-babel.spec @@ -3,8 +3,8 @@ # - tests fail on 'local' timezone # # Conditional build: -%bcond_without doc # don't build doc -%bcond_with tests # do not perform "make test" +%bcond_without doc # Sphinx documentation +%bcond_with tests # test target %bcond_without python2 # CPython 2.x module %bcond_without python3 # CPython 3.x module @@ -12,13 +12,13 @@ Summary: Babel - internationalization library for Python 2 Summary(pl.UTF-8): Babel - biblioteka umiędzynaradawiająca dla Pythona 2 Name: python-%{module} -Version: 2.1.1 +Version: 2.3.4 Release: 1 License: BSD-like Group: Development/Languages/Python -#Source0Download: https://pypi.python.org/pypi/Babel -Source0: https://pypi.python.org/packages/source/B/Babel/Babel-%{version}.tar.gz -# Source0-md5: cab63d158ceed3a809703711cfb8cbd5 +#Source0Download: https://pypi.python.org/simple/Babel +Source0: https://pypi.python.org/packages/6e/96/ba2a2462ed25ca0e651fb7b66e7080f5315f91425a07ea5b34d7c870c114/Babel-%{version}.tar.gz +# Source0-md5: afa20bc55b0e991833030129ad498f35 Patch0: tz.patch URL: http://babel.pocoo.org/ %if %{with python2} @@ -115,11 +115,11 @@ rm -rf $RPM_BUILD_ROOT %py_postclean %endif -find $RPM_BUILD_ROOT%{py_sitescriptdir}/babel/localedata -name '*.dat' | \ +find $RPM_BUILD_ROOT%{py_sitescriptdir}/babel/locale-data -name '*.dat' | \ sed -e "s#^$RPM_BUILD_ROOT##" | \ sed -ne 's,.*/\([a-z][a-z][a-z]\?\)\(_[0-9][0-9][0-9]\|_[A-Z][a-z][a-z][a-z]\)\?\(_[A-Z][A-Z]\)\?\(_POSIX\)\?\.dat$,%lang(\1\3) &,p' > py2.lang -find $RPM_BUILD_ROOT%{py3_sitescriptdir}/babel/localedata -name '*.dat' | \ +find $RPM_BUILD_ROOT%{py3_sitescriptdir}/babel/locale-data -name '*.dat' | \ sed -e "s#^$RPM_BUILD_ROOT##" | \ sed -ne 's,.*/\([a-z][a-z][a-z]\?\)\(_[0-9][0-9][0-9]\|_[A-Z][a-z][a-z][a-z]\)\?\(_[A-Z][A-Z]\)\?\(_POSIX\)\?\.dat,%lang(\1\3) &,p' > py3.lang @@ -129,15 +129,16 @@ rm -rf $RPM_BUILD_ROOT %if %{with python2} %files -f py2.lang %defattr(644,root,root,755) -%doc AUTHORS CHANGES LICENSE README +%doc AUTHORS CHANGES LICENSE %attr(755,root,root) %{_bindir}/pybabel %dir %{py_sitescriptdir}/babel %{py_sitescriptdir}/babel/global.dat %{py_sitescriptdir}/babel/*.py[co] %dir %{py_sitescriptdir}/babel/localtime %{py_sitescriptdir}/babel/localtime/*.py[co] -%dir %{py_sitescriptdir}/babel/localedata -%{py_sitescriptdir}/babel/localedata/root.dat +%dir %{py_sitescriptdir}/babel/locale-data +%{py_sitescriptdir}/babel/locale-data/root.dat +%lang(ca_ES@valencia) %{py_sitescriptdir}/babel/locale-data/ca_ES_VALENCIA.dat %dir %{py_sitescriptdir}/babel/messages %{py_sitescriptdir}/babel/messages/*.py[co] %{py_sitescriptdir}/Babel-%{version}-py*.egg-info @@ -146,15 +147,16 @@ rm -rf $RPM_BUILD_ROOT %if %{with python3} %files -n python3-%{module} -f py3.lang %defattr(644,root,root,755) -%doc AUTHORS CHANGES LICENSE README +%doc AUTHORS CHANGES LICENSE %attr(755,root,root) %{_bindir}/pybabel3 %dir %{py3_sitescriptdir}/babel %{py3_sitescriptdir}/babel/__pycache__ %{py3_sitescriptdir}/babel/global.dat %{py3_sitescriptdir}/babel/*.py %{py3_sitescriptdir}/babel/localtime -%dir %{py3_sitescriptdir}/babel/localedata -%{py3_sitescriptdir}/babel/localedata/root.dat +%dir %{py3_sitescriptdir}/babel/locale-data +%{py3_sitescriptdir}/babel/locale-data/root.dat +%lang(ca_ES@valencia) %{py3_sitescriptdir}/babel/locale-data/ca_ES_VALENCIA.dat %{py3_sitescriptdir}/babel/messages %{py3_sitescriptdir}/Babel-%{version}-py*.egg-info %endif