|
|
3df8655 |
%global srcname swagger-spec-validator
|
|
|
3df8655 |
|
|
|
3df8655 |
Name: python-%{srcname}
|
|
|
169ed0a |
Version: 2.7.4
|
|
|
30205d2 |
Release: 2%{?dist}
|
|
|
3df8655 |
Summary: Validation of Swagger specifications
|
|
|
3df8655 |
|
|
|
3df8655 |
License: ASL 2.0
|
|
|
3df8655 |
URL: https://github.com/Yelp/swagger_spec_validator
|
|
|
3df8655 |
Source0: %{pypi_source}
|
|
|
3df8655 |
Source1: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz
|
|
|
3df8655 |
|
|
|
3df8655 |
BuildArch: noarch
|
|
|
3df8655 |
|
|
|
3df8655 |
%global _description %{expand:
|
|
|
3df8655 |
%{summary}.}
|
|
|
3df8655 |
|
|
|
3df8655 |
%description %{_description}
|
|
|
3df8655 |
|
|
|
3df8655 |
%package -n python3-%{srcname}
|
|
|
3df8655 |
Summary: %{summary}
|
|
|
3df8655 |
%{?python_provide:%python_provide python3-%{srcname}}
|
|
|
3df8655 |
BuildRequires: python3-devel
|
|
|
3df8655 |
BuildRequires: python3dist(setuptools)
|
|
|
3df8655 |
BuildRequires: python3dist(jsonschema)
|
|
|
3df8655 |
BuildRequires: python3dist(pyyaml)
|
|
|
3df8655 |
BuildRequires: python3dist(six)
|
|
|
3df8655 |
BuildRequires: python3dist(pytest) >= 3.1.0
|
|
|
3df8655 |
BuildRequires: python3dist(httpretty)
|
|
|
3df8655 |
BuildRequires: python3dist(mock)
|
|
|
3df8655 |
|
|
|
3df8655 |
%description -n python3-%{srcname} %{_description}
|
|
|
3df8655 |
|
|
|
3df8655 |
Python 3 version.
|
|
|
3df8655 |
|
|
|
3df8655 |
%prep
|
|
|
3df8655 |
%autosetup -n %{srcname}-%{version} -N
|
|
|
3df8655 |
rm -vr *.egg-info
|
|
|
3df8655 |
tar -xvf %{S:1} --strip-components=1 --wildcards \
|
|
|
3df8655 |
'swagger_spec_validator-%{version}/LICENSE.txt' \
|
|
|
3df8655 |
'swagger_spec_validator-%{version}/CHANGELOG.rst' \
|
|
|
3df8655 |
'swagger_spec_validator-%{version}/tests/' \
|
|
|
3df8655 |
%{nil}
|
|
|
3df8655 |
|
|
|
3df8655 |
%build
|
|
|
3df8655 |
%py3_build
|
|
|
3df8655 |
|
|
|
3df8655 |
%install
|
|
|
3df8655 |
%py3_install
|
|
|
3df8655 |
|
|
|
3df8655 |
%check
|
|
|
3df8655 |
%python3 -m pytest tests
|
|
|
3df8655 |
|
|
|
3df8655 |
%files -n python3-%{srcname}
|
|
|
3df8655 |
%license LICENSE.txt
|
|
|
3df8655 |
%doc README.md CHANGELOG.rst
|
|
|
3df8655 |
%{python3_sitelib}/swagger_spec_validator/
|
|
|
3df8655 |
%{python3_sitelib}/swagger_spec_validator-*.egg-info/
|
|
|
3df8655 |
|
|
|
3df8655 |
%changelog
|
|
|
30205d2 |
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.7.4-2
|
|
|
30205d2 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
30205d2 |
|
|
|
169ed0a |
* Sun Jul 10 2022 Kevin Fenzi <kevin@scrye.com> - 2.7.4-1
|
|
|
169ed0a |
- Update to 2.7.4.
|
|
|
169ed0a |
|
|
|
31f5913 |
* Thu Jun 16 2022 Python Maint <python-maint@redhat.com> - 2.7.3-6
|
|
|
31f5913 |
- Rebuilt for Python 3.11
|
|
|
31f5913 |
|
|
|
c5bc29d |
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.7.3-5
|
|
|
c5bc29d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
c5bc29d |
|
|
|
b498135 |
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.7.3-4
|
|
|
b498135 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
b498135 |
|
|
|
4d91392 |
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 2.7.3-3
|
|
|
4d91392 |
- Rebuilt for Python 3.10
|
|
|
4d91392 |
|
|
|
580412c |
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.7.3-2
|
|
|
580412c |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
580412c |
|
|
|
f66c4ba |
* Fri Nov 20 2020 Nils Philippsen <nils@redhat.com> - 2.7.3-1
|
|
|
f66c4ba |
- Update to 2.7.3
|
|
|
f66c4ba |
|
|
|
34f6264 |
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.4.3-4
|
|
|
34f6264 |
- Second attempt - Rebuilt for
|
|
|
34f6264 |
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
34f6264 |
|
|
|
10c0b3b |
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.4.3-3
|
|
|
10c0b3b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
10c0b3b |
|
|
|
03682c7 |
* Tue May 26 2020 Miro HronĨok <mhroncok@redhat.com> - 2.4.3-2
|
|
|
03682c7 |
- Rebuilt for Python 3.9
|
|
|
03682c7 |
|
|
|
3df8655 |
* Fri Jan 31 2020 Igor Raits <ignatenkobrain@fedoraproject.org> - 2.4.3-1
|
|
|
3df8655 |
- Initial package
|