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
This commit is contained in:
parent
1bd2a63162
commit
82db965da4
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user