diff --git a/babel-2.3.4-remove-pytz-version.patch b/babel-2.3.4-remove-pytz-version.patch new file mode 100644 index 0000000..9025179 --- /dev/null +++ b/babel-2.3.4-remove-pytz-version.patch @@ -0,0 +1,15 @@ +diff -up Babel-2.3.4/setup.py.orig Babel-2.3.4/setup.py +--- Babel-2.3.4/setup.py.orig 2016-04-11 11:58:25.000000000 +0200 ++++ Babel-2.3.4/setup.py 2016-04-25 13:35:54.458765892 +0200 +@@ -59,7 +59,10 @@ setup( + # This version identifier is currently necessary as + # pytz otherwise does not install on pip 1.4 or + # higher. +- 'pytz>=0a', ++ ### But the version confuses setuptools 8 and higher so remove it in the ++ ### system package ++ #'pytz>=0a', ++ 'pytz', + ], + + cmdclass={'import_cldr': import_cldr}, diff --git a/babel-remove-pytz-version.patch b/babel-remove-pytz-version.patch deleted file mode 100644 index 8bc421b..0000000 --- a/babel-remove-pytz-version.patch +++ /dev/null @@ -1,15 +0,0 @@ -diff -up Babel-1.3/setup.py.bak Babel-1.3/setup.py ---- Babel-1.3/setup.py.bak 2014-12-17 08:15:47.607637242 -0800 -+++ Babel-1.3/setup.py 2014-12-17 08:17:04.981559771 -0800 -@@ -57,7 +57,10 @@ setup( - # This version identifier is currently necessary as - # pytz otherwise does not install on pip 1.4 or - # higher. -- 'pytz>=0a', -+ ### But the version confuses setuptools 8 and higher so remove it in the -+ ### system package -+ #'pytz>=0a', -+ 'pytz', - ], - - cmdclass={'build_doc': build_doc, 'test_doc': test_doc, diff --git a/babel.spec b/babel.spec index e7eab70..c233e64 100644 --- a/babel.spec +++ b/babel.spec @@ -18,7 +18,7 @@ Summary: Tools for internationalizing Python applications License: BSD URL: http://babel.pocoo.org/ Source0: https://pypi.python.org/packages/source/B/%{srcname}/%{srcname}-%{version}.tar.gz -Patch0: babel-remove-pytz-version.patch +Patch0: babel-2.3.4-remove-pytz-version.patch BuildArch: noarch @@ -154,6 +154,7 @@ rm -f "$BUILDDIR/html/.buildinfo" - build docs non-destructively - tag license file as %%license - use %%python_provide macro only if present +- update remove-pytz-version patch * Wed Feb 03 2016 Fedora Release Engineering - 1.3-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild