]> git.pld-linux.org Git - packages/sphinx-pdg.git/commitdiff
- fix comparison of float and sting auto/th/sphinx-pdg-1.3.3-2
authorJan Rękorajski <baggins@pld-linux.org>
Sun, 13 Dec 2015 16:10:58 +0000 (17:10 +0100)
committerJan Rękorajski <baggins@pld-linux.org>
Sun, 13 Dec 2015 16:10:58 +0000 (17:10 +0100)
- rel 2

float-ver.patch [new file with mode: 0644]
sphinx-pdg.spec

diff --git a/float-ver.patch b/float-ver.patch
new file mode 100644 (file)
index 0000000..48ae5f9
--- /dev/null
@@ -0,0 +1,11 @@
+--- 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)
index 0f858c7a0343a6003e14e4fcd5899538add70a7d..4d442ad58ed8f9de1d7b6e8fa683e73fb8d98068 100644 (file)
@@ -11,12 +11,13 @@ Summary:    Sphinx - Python documentation generator
 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
@@ -142,6 +143,7 @@ sphinx-pdg-3.
 
 %prep
 %setup -q -n Sphinx-%{version}
+%patch0 -p1
 
 %build
 %if %{with python2}
This page took 0.145634 seconds and 4 git commands to generate.