diff --git a/for_sphinx.patch b/for_sphinx.patch new file mode 100644 index 0000000..6f7c304 --- /dev/null +++ b/for_sphinx.patch @@ -0,0 +1,12 @@ +Index: pbr-4.0.3/setup.cfg +=================================================================== +--- pbr-4.0.3.orig/setup.cfg ++++ pbr-4.0.3/setup.cfg +@@ -55,7 +55,6 @@ console_scripts = + all-files = 1 + build-dir = doc/build + source-dir = doc/source +-warning-is-error = 1 + + [wheel] + universal = 1 diff --git a/python-pbr-doc.changes b/python-pbr-doc.changes index 78a1ca1..963b15c 100644 --- a/python-pbr-doc.changes +++ b/python-pbr-doc.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri May 25 09:48:46 UTC 2018 - mimi.vx@gmail.com + +- for_sphinx.patch - allow warnings for sphinx_build + unfortuanetly python3 and python2 Sphinx have diff in docstring parsing + ------------------------------------------------------------------- Wed May 23 02:48:49 UTC 2018 - arun@gmx.de diff --git a/python-pbr-doc.spec b/python-pbr-doc.spec index c87f66e..94e6a32 100644 --- a/python-pbr-doc.spec +++ b/python-pbr-doc.spec @@ -26,6 +26,7 @@ Group: Development/Languages/Python URL: http://pypi.python.org/pypi/pbr Source: https://files.pythonhosted.org/packages/source/p/pbr/pbr-%{version}.tar.gz Source1: python-pbr-rpmlintrc +Patch0: for_sphinx.patch BuildRequires: fdupes # Documentation requirements: BuildRequires: python3-Sphinx >= 1.6.2 @@ -40,6 +41,7 @@ This package contains documentation files for python-pbr %setup -q -n pbr-%{version} # Get rid of ugly build-time deps that require network: sed -i "s/, 'sphinx\.ext\.intersphinx'//" doc/source/conf.py +%patch0 -p1 %build python3 setup.py build_sphinx diff --git a/python-pbr.changes b/python-pbr.changes index 932e950..3d2091b 100644 --- a/python-pbr.changes +++ b/python-pbr.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri May 25 09:48:46 UTC 2018 - mimi.vx@gmail.com + +- for_sphinx.patch - allow warnings for sphinx_build + unfortuanetly python3 and python2 Sphinx have diff in docstring parsing + ------------------------------------------------------------------- Wed May 23 02:48:49 UTC 2018 - arun@gmx.de