forked from pool/python-py2pack
Accepting request 688820 from home:jayvdb:branches:devel:languages:python
- Fix fdupes - Install only Python 3 Sphinx for docs OBS-URL: https://build.opensuse.org/request/show/688820 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-py2pack?expand=0&rev=82
This commit is contained in:
committed by
Git OBS Bridge
parent
c1f01e5181
commit
893a55f620
@@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Mar 26 15:43:09 UTC 2019 - John Vandenberg <jayvdb@gmail.com>
|
||||
|
||||
- Fix fdupes
|
||||
- Install only Python 3 Sphinx for docs
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Dec 6 21:03:16 UTC 2018 - Jan Engelhardt <jengelh@inai.de>
|
||||
|
||||
|
@@ -26,12 +26,14 @@ Group: Development/Languages/Python
|
||||
URL: https://github.com/openSUSE/py2pack
|
||||
Source: https://files.pythonhosted.org/packages/source/p/py2pack/py2pack-%{version}.tar.gz
|
||||
BuildRequires: %{python_module Jinja2}
|
||||
BuildRequires: %{python_module Sphinx}
|
||||
BuildRequires: %{python_module metaextract}
|
||||
BuildRequires: %{python_module pbr}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module six}
|
||||
BuildRequires: %{python_module sphinxcontrib-programoutput}
|
||||
# SECTION doc requirements
|
||||
BuildRequires: python3-Sphinx
|
||||
BuildRequires: python3-sphinxcontrib-programoutput
|
||||
# /SECTION
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: python-Jinja2
|
||||
@@ -70,6 +72,7 @@ rm -rf doc/build/html/.{doctrees,buildinfo}
|
||||
%install
|
||||
%python_install
|
||||
%python_clone -a %{buildroot}%{_bindir}/py2pack
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%post
|
||||
%python_install_alternative py2pack
|
||||
|
Reference in New Issue
Block a user