Accepting request 318952 from home:seife:OpenStack:Master

fix build on CentOS/RHEL

OBS-URL: https://build.opensuse.org/request/show/318952
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Sphinx?expand=0&rev=59
This commit is contained in:
Todd R 2015-07-27 14:32:26 +00:00 committed by Git OBS Bridge
parent 80296645d7
commit 3463f6252d
2 changed files with 12 additions and 1 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Jul 27 09:03:41 UTC 2015 - seife+obs@b1-systems.com
- fix build on CentOS/RHEL by conditionalizing Recommends: tag
- add #!BuildIgnore: texinfo to work around CentOS-7 project config
-------------------------------------------------------------------
Mon Jun 29 14:07:26 UTC 2015 - toddrme2178@gmail.com

View File

@ -1,7 +1,7 @@
#
# spec file for package python-Sphinx
#
# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2015 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
@ -49,7 +49,12 @@ Requires: python-docutils >= 0.11
Requires: python-six
Requires: python-snowballstemmer
Requires: python-sphinx_rtd_theme
%if 0%{?suse_version}
Recommends: python-rst2pdf
%endif
# workaround for suboptimal CentOS-7 project config
#!BuildIgnore: texinfo
Provides: python-sphinx = %{version}
Obsoletes: python-sphinx < %{version}
%if 0%{?suse_version} && 0%{?suse_version} <= 1110