From 893a55f620b8784ae6ef51ea37a870e51110bccb3cf33436640bf29ea3fea1bc Mon Sep 17 00:00:00 2001 From: Thomas Bechtold Date: Thu, 28 Mar 2019 08:30:06 +0000 Subject: [PATCH] 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 --- python-py2pack.changes | 6 ++++++ python-py2pack.spec | 7 +++++-- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/python-py2pack.changes b/python-py2pack.changes index 7938b04..df11e73 100644 --- a/python-py2pack.changes +++ b/python-py2pack.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Mar 26 15:43:09 UTC 2019 - John Vandenberg + +- Fix fdupes +- Install only Python 3 Sphinx for docs + ------------------------------------------------------------------- Thu Dec 6 21:03:16 UTC 2018 - Jan Engelhardt diff --git a/python-py2pack.spec b/python-py2pack.spec index 92b03fb..c8b1ee9 100644 --- a/python-py2pack.spec +++ b/python-py2pack.spec @@ -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