Accepting request 568583 from home:dimstar:Factory

Fix build with RPM 4.14 - disabling the doc was the easy way out, and we don't even lose anything to what we had: make html failed already before; this allows SLE15 to move forward, doc can be introduced again later if wanted

OBS-URL: https://build.opensuse.org/request/show/568583
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-gevent?expand=0&rev=34
This commit is contained in:
Tomáš Chvátal 2018-01-23 14:14:50 +00:00 committed by Git OBS Bridge
parent 754ac99a55
commit e7679e01c8
2 changed files with 10 additions and 5 deletions

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Tue Jan 23 13:34:36 UTC 2018 - dimstar@opensuse.org
- Disable building of the documentation: the make html call fails
already, and with rpm 4.14, this aborts the entire build.
- Drop python-Sphinx buildrequires: not needed when not building
the docs.
-------------------------------------------------------------------
Wed Nov 22 15:29:26 UTC 2017 - jmatejek@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package python-gevent
#
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -35,8 +35,6 @@ BuildRequires: %{python_module greenlet}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
# Documentation requirements
BuildRequires: python-Sphinx
%if %{with tests}
BuildRequires: %{python_module nose}
%endif
@ -76,7 +74,7 @@ Documentation and examples for %{name}.
%build
%python_build
cd doc && make html && rm _build/html/.buildinfo # Build HTML documentation
#cd doc && make html && rm _build/html/.buildinfo # Build HTML documentation
%install
%python_install
@ -99,6 +97,5 @@ popd
%files -n python-gevent-doc
%defattr(-,root,root,-)
%doc examples/
%doc doc/_build/html
%changelog