|
|
2f609dd |
%global module cornice_sphinx
|
|
|
2f609dd |
%global desc Automatically generates Sphinx documentation for Cornice web services.
|
|
|
2f609dd |
|
|
|
2f609dd |
Name: python-cornice-sphinx
|
|
|
3670b9f |
Epoch: 1
|
|
|
2f609dd |
Version: 0.3
|
|
|
99910a3 |
Release: 14%{?dist}
|
|
|
2f609dd |
BuildArch: noarch
|
|
|
2f609dd |
|
|
|
2f609dd |
License: ASL 2.0 and MPLv2.0
|
|
|
2f609dd |
Summary: Cornice extension to generate Sphinx docs
|
|
|
2f609dd |
URL: https://github.com/Cornices/cornice.ext.sphinx
|
|
|
2f609dd |
Source0: %{url}/archive/%{version}/%{module}-%{version}.tar.gz
|
|
|
2f609dd |
# https://github.com/Cornices/cornice.ext.sphinx/pull/14
|
|
|
2f609dd |
Patch0: 0000-Don-t-install-the-tests.patch
|
|
|
4c175dd |
# Workaound https://github.com/sphinx-doc/sphinx/issues/6474
|
|
|
4c175dd |
Patch1: 0001-Fix-compatibility-with-Sphinx-2.1.patch
|
|
|
2f609dd |
|
|
|
2f609dd |
|
|
|
f99b049 |
BuildRequires: %{py3_dist cornice} >= 3
|
|
|
f25ade7 |
BuildRequires: %{py3_dist docutils nose setuptools sphinx mock}
|
|
|
6700f57 |
BuildRequires: python3-devel
|
|
|
2f609dd |
|
|
|
2f609dd |
|
|
|
2f609dd |
%description
|
|
|
2f609dd |
%{desc}
|
|
|
2f609dd |
|
|
|
2f609dd |
|
|
|
2f609dd |
%package -n python3-cornice-sphinx
|
|
|
2f609dd |
Summary: %{summary}
|
|
|
2f609dd |
|
|
|
f99b049 |
Requires: %{py3_dist cornice} >= 3
|
|
|
6700f57 |
Requires: %{py3_dist docutils sphinx}
|
|
|
2f609dd |
|
|
|
2f609dd |
%{?python_provide:%python_provide python3-cornice-sphinx}
|
|
|
2f609dd |
|
|
|
2f609dd |
|
|
|
2f609dd |
%description -n python3-cornice-sphinx
|
|
|
2f609dd |
%{desc}
|
|
|
2f609dd |
|
|
|
2f609dd |
|
|
|
2f609dd |
%prep
|
|
|
2f609dd |
%autosetup -p1 -n cornice.ext.sphinx-%{version}
|
|
|
2f609dd |
|
|
|
2f609dd |
|
|
|
2f609dd |
%build
|
|
|
2f609dd |
%py3_build
|
|
|
2f609dd |
|
|
|
2f609dd |
|
|
|
2f609dd |
%install
|
|
|
2f609dd |
%py3_install
|
|
|
2f609dd |
|
|
|
2f609dd |
|
|
|
2f609dd |
%check
|
|
|
ed43d66 |
# https://github.com/Cornices/cornice.ext.sphinx/issues/19
|
|
|
ed43d66 |
PYTHONPATH="." nosetests-3 --exclude test_string_validator_resolved
|
|
|
2f609dd |
|
|
|
2f609dd |
|
|
|
2f609dd |
%files -n python3-cornice-sphinx
|
|
|
2f609dd |
%license LICENSE
|
|
|
2f609dd |
%doc README.rst
|
|
|
2f609dd |
%{python3_sitelib}/%{module}*
|
|
|
2f609dd |
|
|
|
2f609dd |
|
|
|
2f609dd |
%changelog
|
|
|
99910a3 |
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1:0.3-14
|
|
|
99910a3 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
99910a3 |
|
|
|
b1c4a99 |
* Mon May 25 2020 Miro Hrončok <mhroncok@redhat.com> - 1:0.3-13
|
|
|
b1c4a99 |
- Rebuilt for Python 3.9
|
|
|
b1c4a99 |
|
|
|
f91ffd8 |
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1:0.3-12
|
|
|
f91ffd8 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
f91ffd8 |
|
|
|
123393e |
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 1:0.3-11
|
|
|
123393e |
- Rebuilt for Python 3.8.0rc1 (#1748018)
|
|
|
123393e |
|
|
|
ba5891a |
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 1:0.3-10
|
|
|
ba5891a |
- Rebuilt for Python 3.8
|
|
|
ba5891a |
|
|
|
4c175dd |
* Thu Jul 25 2019 Aurelien Bompard <abompard@fedoraproject.org> - 1:0.3-9
|
|
|
4c175dd |
- Add patch to work around https://github.com/sphinx-doc/sphinx/issues/6474
|
|
|
4c175dd |
|
|
|
220f558 |
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1:0.3-8
|
|
|
220f558 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
220f558 |
|
|
|
dbf73f6 |
* Mon Dec 03 2018 Miro Hrončok <mhroncok@redhat.com> - 1:0.3-7
|
|
|
dbf73f6 |
- Subpackage python2-cornice-sphinx has been removed
|
|
|
dbf73f6 |
See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal
|
|
|
dbf73f6 |
|
|
|
c78ba61 |
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1:0.3-6
|
|
|
c78ba61 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
c78ba61 |
|
|
|
ac0a640 |
* Mon Jun 18 2018 Miro Hrončok <mhroncok@redhat.com> - 1:0.3-5
|
|
|
ac0a640 |
- Rebuilt for Python 3.7
|
|
|
ac0a640 |
|
|
|
5d70b80 |
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1:0.3-4
|
|
|
5d70b80 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
5d70b80 |
|
|
|
82c136e |
* Thu Dec 21 2017 Randy Barlow <bowlofeggs@fedoraproject.org> - 0.3-3
|
|
|
3670b9f |
- Raise the epoch to 1.
|
|
|
3670b9f |
|
|
|
6700f57 |
* Thu Dec 21 2017 Randy Barlow <bowlofeggs@fedoraproject.org> - 0.3-2
|
|
|
6700f57 |
- Use fancy new py2_dist and py3_dist macros.
|
|
|
6700f57 |
|
|
|
2f609dd |
* Wed Dec 20 2017 Randy Barlow <bowlofeggs@fedoraproject.org> - 0.3-1
|
|
|
2f609dd |
- Initial release (#1528008).
|