From 0717ad33554a49a119b2fe6966be0e271ebdcc8f Mon Sep 17 00:00:00 2001 From: Troy Dawson Date: Wed, 14 Oct 2020 20:33:58 -0700 Subject: [PATCH] RHEL 9.0.0 Alpha bootstrap The content of this branch was automatically imported from Fedora ELN with the following as its source: https://src.fedoraproject.org/rpms/python-sphinxcontrib-httpdomain#8a1feecd61fda199194f6dab3b7f0909b6f4a3c9 --- .gitignore | 8 + ...-httpdomain-bump-domain-data-version.patch | 28 ++++ python-sphinxcontrib-httpdomain.spec | 142 ++++++++++++++++++ sources | 1 + 4 files changed, 179 insertions(+) create mode 100644 0004-httpdomain-bump-domain-data-version.patch create mode 100644 python-sphinxcontrib-httpdomain.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore index e69de29..cb3f1cb 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1,8 @@ +/sphinxcontrib-httpdomain-1.1.7.tar.gz +/sphinxcontrib-httpdomain-1.1.8.tar.gz +/sphinxcontrib-httpdomain-1.3.0.tar.gz +/sphinxcontrib-httpdomain-1.4.0.tar.gz +/sphinxcontrib-httpdomain-1.5.0.tar.gz +/sphinxcontrib-httpdomain-1.6.0.tar.gz +/sphinxcontrib-httpdomain-1.6.1.tar.gz +/sphinxcontrib-httpdomain-1.7.0.tar.gz diff --git a/0004-httpdomain-bump-domain-data-version.patch b/0004-httpdomain-bump-domain-data-version.patch new file mode 100644 index 0000000..9f0c67e --- /dev/null +++ b/0004-httpdomain-bump-domain-data-version.patch @@ -0,0 +1,28 @@ +From 1f6c4251d23ba6117943440bc1e3f43fe691da3a Mon Sep 17 00:00:00 2001 +From: Dan Callaghan +Date: Sun, 27 Sep 2015 20:21:49 +1000 +Subject: [PATCH 4/4] httpdomain: bump domain data version + +Upstream should have bumped this to 1 (or something greater than 0) for +the 1.4.0 release since the expected contents of the data dict changed. +Using '0.1' here in Fedora with the expectation that it will be bumped +properly in a future upstream release. +--- + httpdomain/sphinxcontrib/httpdomain.py | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/httpdomain/sphinxcontrib/httpdomain.py b/httpdomain/sphinxcontrib/httpdomain.py +index faa50f2..27f5871 100644 +--- a/httpdomain/sphinxcontrib/httpdomain.py ++++ b/httpdomain/sphinxcontrib/httpdomain.py +@@ -628,6 +628,7 @@ class HTTPDomain(Domain): + 'copy': {}, + 'any': {} + } ++ data_version = '0.1' + + indices = [HTTPIndex] + +-- +2.9.4 + diff --git a/python-sphinxcontrib-httpdomain.spec b/python-sphinxcontrib-httpdomain.spec new file mode 100644 index 0000000..a2f8504 --- /dev/null +++ b/python-sphinxcontrib-httpdomain.spec @@ -0,0 +1,142 @@ + +%global upstream_name sphinxcontrib-httpdomain + +Name: python-%{upstream_name} +Version: 1.7.0 +Release: 10%{?dist} +Summary: Sphinx domain for documenting HTTP APIs +License: BSD +URL: http://packages.python.org/sphinxcontrib-httpdomain/ +Source0: https://files.pythonhosted.org/packages/source/s/%{upstream_name}/%{upstream_name}-%{version}.tar.gz +# issue to be filed(?) +Patch4: 0004-httpdomain-bump-domain-data-version.patch +BuildArch: noarch + +%description +Using this Sphinx domain you can document your HTTP API. It includes support +for generating documentation from Flask routing tables. + +%package -n python3-%{upstream_name} +Summary: %{summary} +%{?python_provide:%python_provide python3-%{upstream_name}} +BuildRequires: python3-devel +BuildRequires: python3-setuptools +Requires: python3-sphinx +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. + + +%prep +%setup -q -n %{upstream_name}-%{version} +%patch4 -p2 +rm -r *.egg-info + +%build +%{py3_build} + +%install +%{py3_install} + +%files -n python3-%{upstream_name} +%doc README.rst +%license LICENSE +%{python3_sitelib}/sphinxcontrib* + +%changelog +* Wed Jul 29 2020 Fedora Release Engineering - 1.7.0-10 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Sat May 23 2020 Miro Hrončok - 1.7.0-9 +- Rebuilt for Python 3.9 + +* Thu Jan 30 2020 Fedora Release Engineering - 1.7.0-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Thu Oct 03 2019 Miro Hrončok - 1.7.0-7 +- Rebuilt for Python 3.8.0rc1 (#1748018) + +* Fri Aug 16 2019 Miro Hrončok - 1.7.0-6 +- Rebuilt for Python 3.8 + +* Fri Jul 26 2019 Fedora Release Engineering - 1.7.0-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Wed Mar 06 2019 Miro Hrončok - 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 - 1.7.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Sat Jul 14 2018 Fedora Release Engineering - 1.7.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Tue Jul 10 2018 Dan Callaghan - 1.7.0-1 +- upstream release 1.7.0: https://sphinxcontrib-httpdomain.readthedocs.io/en/stable/#version-1-7-0 + +* Tue Jun 19 2018 Miro Hrončok - 1.6.1-2 +- Rebuilt for Python 3.7 + +* Mon Mar 05 2018 Dan Callaghan - 1.6.1-1 +- Update to 1.6.1 bug fix release (RHBZ#1551209) + +* Fri Feb 09 2018 Fedora Release Engineering - 1.6.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Mon Jan 15 2018 Dan Callaghan - 1.6.0-1 +- Update to 1.6.0 bug fix release (RHBZ#1534132) + +* Thu Jul 27 2017 Fedora Release Engineering - 1.5.0-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Mon Jul 24 2017 Dan Callaghan - 1.5.0-4 +- fix for Sphinx 1.6 compatibility (RHBZ#1473447) + +* Fri Jun 23 2017 Dan Callaghan - 1.5.0-3 +- added Python 3 subpackage (RHBZ#1459474) + +* Sat Feb 11 2017 Fedora Release Engineering - 1.5.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Mon Aug 15 2016 Dan Callaghan - 1.5.0-1 +- upstream release 1.5.0: http://pythonhosted.org/sphinxcontrib-httpdomain/#version-1-5-0 + +* Thu Feb 04 2016 Fedora Release Engineering - 1.4.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Sun Sep 27 2015 Dan Callaghan - 1.4.0-1 +- upstream release 1.4.0: http://pythonhosted.org/sphinxcontrib-httpdomain/#version-1-4-0 + +* Thu Jun 18 2015 Fedora Release Engineering - 1.3.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Tue Jan 20 2015 Dan Callaghan - 1.3.0-1 +- upstream release 1.3.0: http://pythonhosted.org/sphinxcontrib-httpdomain/#version-1-3-0 + +* Sat Jun 07 2014 Fedora Release Engineering - 1.1.8-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Tue Feb 11 2014 Dan Callaghan - 1.1.8-5 +- really fix sphinx requirement + +* Mon Feb 10 2014 Pádraig Brady - 1.1.8-4 +- fix sphinx requirement on RHEL 7 + +* Wed Oct 09 2013 Dan Callaghan - 1.1.8-3 +- require python-sphinx10 on EPEL + +* Sun Aug 04 2013 Fedora Release Engineering - 1.1.8-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + +* Mon Apr 22 2013 Dan Callaghan - 1.1.8-1 +- new upstream release 1.1.8 +- require python-sphinx (except on EPEL5/6) + +* Mon Mar 04 2013 Dan Callaghan - 1.1.7-2 +- support EPEL5 and EPEL6 + +* Mon Feb 11 2013 Dan Callaghan - 1.1.7-1 +- initial version diff --git a/sources b/sources new file mode 100644 index 0000000..032a37b --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (sphinxcontrib-httpdomain-1.7.0.tar.gz) = 132803f60af263a4948108145ac27635da50254eb79dad2c461c4f364b04eb6b28d4917449fae31b792fc8773ce948f1fd20b06b22e167bfb4584dad756c8f17