From 419621a63adc2c05a107a3994a4f5875a41c09d7 Mon Sep 17 00:00:00 2001 From: Miro Hrončok Date: Mar 06 2019 15:12:55 +0000 Subject: [PATCH 1/2] Subpackage python2-sphinxcontrib-websupport has been removed --- diff --git a/python-sphinxcontrib-websupport.spec b/python-sphinxcontrib-websupport.spec index 387a034..8165139 100644 --- a/python-sphinxcontrib-websupport.spec +++ b/python-sphinxcontrib-websupport.spec @@ -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 - 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 - 1.0.1-12.20180316git - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild From 4e4efc2528f2f4ee381cd2db34e20d42f011832f Mon Sep 17 00:00:00 2001 From: Miro Hrončok Date: Mar 06 2019 15:19:14 +0000 Subject: [PATCH 2/2] Update to 1.1.0 --- diff --git a/.gitignore b/.gitignore index 9ef6dbd..c766807 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ /sphinxcontrib-websupport-1.0.1.dev20171013.tar.gz /88d4fdd163efdeaab91a105b7980c42078ed3417.tar.gz /ebe84efc1a869da8d5689c706cdcf6ea864f0d9b.tar.gz +/sphinxcontrib-websupport-1.1.0.tar.gz diff --git a/python-sphinxcontrib-websupport.spec b/python-sphinxcontrib-websupport.spec index 8165139..08db299 100644 --- a/python-sphinxcontrib-websupport.spec +++ b/python-sphinxcontrib-websupport.spec @@ -1,14 +1,13 @@ -%global commit ebe84efc1a869da8d5689c706cdcf6ea864f0d9b %global pypi_name sphinxcontrib-websupport Name: python-%{pypi_name} -Version: 1.0.1 -Release: 13.20180316git%{?dist} +Version: 1.1.0 +Release: 1%{?dist} Summary: Sphinx API for Web Apps License: BSD URL: http://sphinx-doc.org/ -Source0: https://github.com/sphinx-doc/sphinxcontrib-websupport/archive/%{commit}.tar.gz +Source0: %{pypi_source} BuildArch: noarch %description @@ -40,7 +39,7 @@ sphinxcontrib-websupport provides a Python API to easily integrate Sphinx documentation into your Web application. %prep -%autosetup -n %{pypi_name}-%{commit} +%autosetup -n %{pypi_name}-%{version} # Remove bundled egg-info rm -rf %{pypi_name}.egg-info @@ -62,7 +61,8 @@ PYTHONPATH=. py.test-3 tests/ %{python3_sitelib}/sphinxcontrib_websupport-*.egg-info %changelog -* Wed Mar 06 2019 Miro Hrončok - 1.0.1-13.20180316git +* Wed Mar 06 2019 Miro Hrončok - 1.1.0-1 +- Update to 1.1.0 - Subpackage python2-sphinxcontrib-websupport has been removed See https://fedoraproject.org/wiki/Changes/Sphinx2 diff --git a/sources b/sources index 297c5a2..4dee662 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (ebe84efc1a869da8d5689c706cdcf6ea864f0d9b.tar.gz) = a33c32cd20c24a714c149059953492e2bacf590a912cc2144935021ad4c2639eb7a47986f31bebf028bcc43de3a842bde0215602213d883d3cc0ed9abf78e747 +SHA512 (sphinxcontrib-websupport-1.1.0.tar.gz) = adbd7db06150a4424a881a22442c2535ed823c7adcc295ef9c3af5ae38d823349830a114e8a7af2138498d0e68b37189707c1bb5a28b45c76031bcf94210fb89