From 82db965da4811ece393dc6dabaccbda6be804f319fcaeac7d7f22f0e93e260bd Mon Sep 17 00:00:00 2001 From: Todd R Date: Mon, 3 Aug 2015 10:07:09 +0000 Subject: [PATCH] Accepting request 320124 from home:TheBlackCat:branches:devel:languages:python Split documentation into own package to avoid dependency loop OBS-URL: https://build.opensuse.org/request/show/320124 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pbr?expand=0&rev=37 --- python-pbr.changes | 5 +++++ python-pbr.spec | 15 --------------- 2 files changed, 5 insertions(+), 15 deletions(-) diff --git a/python-pbr.changes b/python-pbr.changes index c0f39e3..fdddeee 100644 --- a/python-pbr.changes +++ b/python-pbr.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Aug 3 10:04:09 UTC 2015 - toddrme2178@gmail.com + +- Actually remove documentation requirements + ------------------------------------------------------------------- Mon Aug 3 09:46:34 UTC 2015 - toddrme2178@gmail.com diff --git a/python-pbr.spec b/python-pbr.spec index 5b09dd6..80ab34d 100644 --- a/python-pbr.spec +++ b/python-pbr.spec @@ -35,8 +35,6 @@ Patch0: 0001-Remove-sphinx_config.init_values-manual-call.patch BuildRequires: fdupes BuildRequires: python-devel BuildRequires: python-pip >= 1.4 -# Documentation requirements: -BuildRequires: python-Sphinx >= 1.1.2 # Test requirements: %if %{with test} #BuildRequires: python-coverage >= 3.6 @@ -69,14 +67,6 @@ them every time. It will set versions, process requirements files and generate AUTHORS and ChangeLog file all from git information. -%package doc -Summary: Python Build Reasonableness documentation -Group: Development/Languages/Python -Requires: %{name} = %{version} - -%description doc -This package contains documentation files for %{name}. - %prep %setup -q -n pbr-%{version} %patch0 -p1 @@ -85,7 +75,6 @@ sed -i "s/, 'sphinx\.ext\.intersphinx'//" doc/source/conf.py %build python setup.py build -python setup.py build_sphinx && rm doc/build/html/.buildinfo %install python setup.py install --prefix=%{_prefix} --root=%{buildroot} @@ -119,8 +108,4 @@ fi %{_bindir}/pbr %ghost %{_sysconfdir}/alternatives/pbr -%files doc -%defattr(-,root,root,-) -%doc doc/build/html - %changelog