14
0
forked from pool/python-pbr

- Add 0001-Initialize-sphinx-config-using-application-instead-o.patch

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pbr?expand=0&rev=65
This commit is contained in:
Thomas Bechtold
2017-04-03 05:06:58 +00:00
committed by Git OBS Bridge
parent 63408e0cf0
commit 22ec98a26f
3 changed files with 109 additions and 0 deletions

View File

@@ -30,6 +30,8 @@ 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
# PATCH-FIX-UPSTREAM 0001-Initialize-sphinx-config-using-application-instead-o.patch~- https://review.openstack.org/#/c/448455/
Patch1: 0001-Initialize-sphinx-config-using-application-instead-o.patch
BuildRequires: %{python_module devel}
BuildRequires: %{python_module pip >= 1.4}
BuildRequires: fdupes
@@ -65,6 +67,7 @@ information.
%prep
%setup -q -n pbr-%{version}
%patch1 -p1
# Get rid of ugly build-time deps that require network:
sed -i "s/, 'sphinx\.ext\.intersphinx'//" doc/source/conf.py