From fff6539f43a2bfdb85d3ba9116a23cc96218877f Mon Sep 17 00:00:00 2001 From: Dan Radez Date: Apr 09 2019 14:33:59 +0000 Subject: enabling docs --- diff --git a/python-cheroot.spec b/python-cheroot.spec index ae5df39..2f0aba7 100644 --- a/python-cheroot.spec +++ b/python-cheroot.spec @@ -1,11 +1,11 @@ # Created by pyp2rpm-3.2.2 %global pypi_name cheroot # rst-linker not yet available in fedora for docs build -%bcond_with docs +%bcond_without docs Name: python-%{pypi_name} Version: 6.5.4 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Highly-optimized, pure-python HTTP server License: BSD @@ -47,14 +47,15 @@ The test suite currently relies on pytest. It's being run via Travis CI.Contribute Cheroot. %if %{with docs} +%package -n python-%{pypi_name}-doc +Summary: cheroot documentation + BuildRequires: python3dist(sphinx) BuildRequires: python3dist(sphinx-theme-alabaster) -BuildRequires: python3-rst-linker -BuildRequires: python3-jaraco-packaging +BuildRequires: python3dist(rst-linker) +BuildRequires: python3dist(jaraco-packaging) BuildRequires: python3dist(docutils) -%package -n python-%{pypi_name}-doc -Summary: cheroot documentation %description -n python-%{pypi_name}-doc Documentation for cheroot %endif @@ -105,5 +106,7 @@ LANG=C.utf-8 %{__python3} -m pytest --ignore=build %endif %changelog +* Tue Apr 09 2019 Dan Radez - 6.5.4-2 +- enabling docs * Wed May 02 2018 Dan Radez - 6.5.4-1 - Initial package.