--- /dev/null
+--- Sphinx-1.3.3/sphinx/application.py~ 2015-11-29 14:18:15.000000000 +0100
++++ Sphinx-1.3.3/sphinx/application.py 2015-12-13 17:10:16.838949090 +0100
+@@ -159,7 +159,7 @@
+
+ # check the Sphinx version if requested
+ if self.config.needs_sphinx and \
+- self.config.needs_sphinx > sphinx.__display_version__[:3]:
++ str(self.config.needs_sphinx) > sphinx.__display_version__[:3]:
+ raise VersionRequirementError(
+ 'This project needs at least Sphinx v%s and therefore cannot '
+ 'be built with this version.' % self.config.needs_sphinx)
Summary(pl.UTF-8): Sphinx - narzędzie do tworzenia dokumentacji dla Pythona
Name: sphinx-pdg
Version: 1.3.3
-Release: 1
+Release: 2
License: BSD
Group: Development/Languages/Python
#Source0Download: https://pypi.python.org/pypi/Sphinx
Source0: https://pypi.python.org/packages/source/S/Sphinx/Sphinx-%{version}.tar.gz
# Source0-md5: 3800ffa038a1eedb5139f9c247e7ee2f
+Patch0: float-ver.patch
URL: http://sphinx.pocoo.org/
%if %{with python2}
BuildRequires: python-babel >= 1.3
%prep
%setup -q -n Sphinx-%{version}
+%patch0 -p1
%build
%if %{with python2}