Subpackage python2-sphinxcontrib-websupport has been removed

This commit is contained in:
Miro Hrončok 2019-03-06 15:40:59 +01:00
parent 0c30290e64
commit 419621a63a

View File

@ -1,13 +1,9 @@
%if 0%{?fedora} || 0%{?rhel} > 7
%global with_python3 1
%endif
%global commit ebe84efc1a869da8d5689c706cdcf6ea864f0d9b
%global pypi_name sphinxcontrib-websupport
Name: python-%{pypi_name}
Version: 1.0.1
Release: 12.20180316git%{?dist}
Release: 13.20180316git%{?dist}
Summary: Sphinx API for Web Apps
License: BSD
@ -19,31 +15,6 @@ BuildArch: noarch
sphinxcontrib-websupport provides a Python API to easily integrate Sphinx
documentation into your Web application.
%package -n python2-%{pypi_name}
Summary: %{summary}
%{?python_provide:%python_provide python2-%{pypi_name}}
BuildRequires: python2-devel
BuildRequires: python2-docutils
BuildRequires: python2-jinja2
BuildRequires: python2-mock
BuildRequires: python2-pytest
BuildRequires: python2-setuptools
BuildRequires: python2-six
BuildRequires: python2-sphinx
BuildRequires: python2-sqlalchemy
BuildRequires: python2-whoosh
Requires: python2-docutils
Requires: python2-jinja2
Requires: python2-six
Requires: python2-sphinx
Requires: python2-sqlalchemy
Requires: python2-whoosh
%description -n python2-%{pypi_name}
sphinxcontrib-websupport provides a Python API to easily integrate Sphinx
documentation into your Web application.
%if 0%{?with_python3}
%package -n python3-%{pypi_name}
Summary: %{summary}
%{?python_provide:%python_provide python3-%{pypi_name}}
@ -67,7 +38,6 @@ Requires: python3-whoosh
%description -n python3-%{pypi_name}
sphinxcontrib-websupport provides a Python API to easily integrate Sphinx
documentation into your Web application.
%endif
%prep
%autosetup -n %{pypi_name}-%{commit}
@ -75,40 +45,27 @@ documentation into your Web application.
rm -rf %{pypi_name}.egg-info
%build
%if 0%{?with_python3}
%py3_build
%endif
%py2_build
%install
%if 0%{?with_python3}
%py3_install
%endif
%py2_install
%check
PYTHONPATH=. py.test tests/
%if 0%{?with_python3}
PYTHONPATH=. py.test-3 tests/
%endif
%files -n python2-%{pypi_name}
%license LICENSE
%doc README.rst
%{python2_sitelib}/sphinxcontrib/websupport
%{python2_sitelib}/sphinxcontrib_websupport-*.pth
%{python2_sitelib}/sphinxcontrib_websupport-*.egg-info
%if 0%{?with_python3}
%files -n python3-%{pypi_name}
%license LICENSE
%doc README.rst
%{python3_sitelib}/sphinxcontrib/websupport
%dir %{python3_sitelib}/sphinxcontrib
%{python3_sitelib}/sphinxcontrib/websupport/
%{python3_sitelib}/sphinxcontrib_websupport-*.pth
%{python3_sitelib}/sphinxcontrib_websupport-*.egg-info
%endif
%changelog
* Wed Mar 06 2019 Miro Hrončok <mhroncok@redhat.com> - 1.0.1-13.20180316git
- Subpackage python2-sphinxcontrib-websupport has been removed
See https://fedoraproject.org/wiki/Changes/Sphinx2
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.1-12.20180316git
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild