Subpackage python2-sphinxcontrib-httpdomain has been removed

This commit is contained in:
Miro Hrončok 2019-03-06 15:40:58 +01:00
parent 99a62fa892
commit 1862d5ee6e

View File

@ -3,7 +3,7 @@
Name: python-%{upstream_name}
Version: 1.7.0
Release: 3%{?dist}
Release: 4%{?dist}
Summary: Sphinx domain for documenting HTTP APIs
License: BSD
URL: http://packages.python.org/sphinxcontrib-httpdomain/
@ -16,31 +16,6 @@ BuildArch: noarch
Using this Sphinx domain you can document your HTTP API. It includes support
for generating documentation from Flask routing tables.
%package -n python2-%{upstream_name}
Summary: %{summary}
%{?python_provide:%python_provide python2-%{upstream_name}}
BuildRequires: python2-devel
%if 0%{?fedora} || 0%{?rhel} > 7
BuildRequires: python2-setuptools
Requires: python2-six
Requires: python2-sphinx
%else
BuildRequires: python-setuptools
Requires: python-six
%if 0%{?rhel} > 6
Requires: python-sphinx
%else
# This extension does not work with Sphinx 0.6 as shipped in RHEL6,
# only with Sphinx 1.0 in EPEL.
Requires: python-sphinx10
%endif
%endif
%description -n python2-%{upstream_name}
Using this Sphinx domain you can document your HTTP API. It includes support
for generating documentation from Flask routing tables.
%if 0%{?fedora} || 0%{?rhel} > 7
%package -n python3-%{upstream_name}
Summary: %{summary}
%{?python_provide:%python_provide python3-%{upstream_name}}
@ -52,7 +27,7 @@ Requires: python3-six
%description -n python3-%{upstream_name}
Using this Sphinx domain you can document your HTTP API. It includes support
for generating documentation from Flask routing tables.
%endif
%prep
%setup -q -n %{upstream_name}-%{version}
@ -60,30 +35,21 @@ for generating documentation from Flask routing tables.
rm -r *.egg-info
%build
%{py2_build}
%if 0%{?fedora} || 0%{?rhel} > 7
%{py3_build}
%endif
%install
%{py2_install}
%if 0%{?fedora} || 0%{?rhel} > 7
%{py3_install}
%endif
%files -n python2-%{upstream_name}
%doc README.rst
%license LICENSE
%{python2_sitelib}/*
%if 0%{?fedora} || 0%{?rhel} > 7
%files -n python3-%{upstream_name}
%doc README.rst
%license LICENSE
%{python3_sitelib}/*
%endif
%{python3_sitelib}/sphinxcontrib*
%changelog
* Wed Mar 06 2019 Miro Hrončok <mhroncok@redhat.com> - 1.7.0-4
- Subpackage python2-sphinxcontrib-httpdomain has been removed
See https://fedoraproject.org/wiki/Changes/Sphinx2
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild