296b172
%{?python_enable_dependency_generator}
a88d7f3
%global pypi_name responses
a88d7f3
%global sum Reusable django app for collecting and visualizing network topology
df3a07e
a88d7f3
a88d7f3
Name:           python-%{pypi_name}
2c3f9e7
Version:        0.10.5
90825ce
Release:        1%{?dist}.1
a88d7f3
Summary:        %{sum}
a88d7f3
License:        ASL 2.0
a88d7f3
URL:            https://github.com/getsentry/responses
c774568
Source0:        %{url}/archive/%{version}/%{pypi_name}-%{version}.tar.gz
a88d7f3
a88d7f3
BuildArch:      noarch
a88d7f3
Orion Poplawski ca35032
BuildRequires:  python%{python3_pkgversion}-devel
Orion Poplawski ca35032
BuildRequires:  python%{python3_pkgversion}-requests
Orion Poplawski ca35032
BuildRequires:  python%{python3_pkgversion}-six
c774568
BuildRequires:  python%{python3_pkgversion}-setuptools
c774568
BuildRequires:  python%{python3_pkgversion}-pytest
2f959a6
BuildRequires:  python3.6dist(coverage)
c774568
BuildRequires:  python%{python3_pkgversion}-pytest-cov
c774568
BuildRequires:  python%{python3_pkgversion}-flake8
c774568
BuildRequires:  python%{python3_pkgversion}-mock
a88d7f3
a88d7f3
%description
a88d7f3
A utility library for mocking out the requests Python library.
a88d7f3
Orion Poplawski ca35032
%package -n python%{python3_pkgversion}-%{pypi_name}
a88d7f3
Summary:        %{sum}
Orion Poplawski ca35032
%{?python_provide:%python_provide python%{python3_pkgversion}-%{pypi_name}}
296b172
%if %{undefined __pythondist_requires}
Orion Poplawski ca35032
Requires:       python%{python3_pkgversion}-requests
Orion Poplawski ca35032
Requires:       python%{python3_pkgversion}-six
296b172
%endif
a88d7f3
Orion Poplawski ca35032
%description -n python%{python3_pkgversion}-%{pypi_name}
a88d7f3
A utility library for mocking out the requests Python library.
a88d7f3
a88d7f3
%prep
a88d7f3
%setup -q -n %{pypi_name}-%{version}
a88d7f3
a88d7f3
%build
a88d7f3
%py3_build
a88d7f3
a88d7f3
%install
a88d7f3
%py3_install
a88d7f3
c774568
# skipping tests due to missing dependencies: python-pytest-localserver
c774568
#%%check
c774568
#%%{__python3} setup.py test
a88d7f3
Orion Poplawski ca35032
%files -n python%{python3_pkgversion}-%{pypi_name}
a88d7f3
%license LICENSE
a88d7f3
%doc README.rst
d2fed2a
%{python3_sitelib}/%{pypi_name}-%{version}-py%{python3_version}.egg-info/
d2fed2a
%{python3_sitelib}/%{pypi_name}.py
d2fed2a
%{python3_sitelib}/test_%{pypi_name}.py
d2fed2a
%{python3_sitelib}/__pycache__/%{pypi_name}.*.pyc
d2fed2a
%{python3_sitelib}/__pycache__/test_%{pypi_name}.*.pyc
a88d7f3
a88d7f3
%changelog
90825ce
* Thu Jul 25 2019 Stephen Smoogen <smooge@fedoraproject.org> - 0.10.5-1.1
90825ce
- Update to use RHEL-8 packages
90825ce
2c3f9e7
* Wed Mar 06 2019 Randy Barlow <bowlofeggs@fedoraproject.org> - 0.10.5-1
2c3f9e7
- Upgrade to 0.10.5 (#1684241).
2c3f9e7
- https://github.com/getsentry/responses/blob/0.10.5/CHANGES
2c3f9e7
6787590
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.0-6
6787590
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
6787590
296b172
* Sat Dec 29 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.9.0-5
296b172
- Enable python dependency generator
296b172
576ad1c
* Fri Dec 28 2018 Miro Hrončok <mhroncok@redhat.com> - 0.9.0-4
576ad1c
- Subpackage python2-responses has been removed
576ad1c
  See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal
576ad1c
e50443a
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.0-3
e50443a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
e50443a
a672179
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 0.9.0-2
a672179
- Rebuilt for Python 3.7
a672179
c774568
* Mon Apr 09 2018 Athos Ribeiro <athoscr@fedoraproject.org> - 0.9.0-1
c774568
- Version update
c774568
- Explicitly require pythonX-setuptools regardless of environment
c774568
9e03b77
* Fri Feb 09 2018 Iryna Shcherbina <ishcherb@redhat.com> - 0.5.1-8
9e03b77
- Update Python 2 dependency declarations to new packaging standards
9e03b77
  (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
9e03b77
c04c0d1
* Fri Feb 09 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.5.1-7
c04c0d1
- Escape macros in %%changelog
c04c0d1
1a28f1c
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.1-6
1a28f1c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
1a28f1c
5d8dfa8
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.1-5
5d8dfa8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
5d8dfa8
4c9ce9b
* Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 0.5.1-4
4c9ce9b
- Rebuild for Python 3.6
4c9ce9b
126b73e
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.1-3
126b73e
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
126b73e
df3a07e
* Thu Jun 02 2016 Germano Massullo <germano.massullo@gmail.com> - 0.5.1-2
df3a07e
- Fixed python packages prefix for el <= 7
df3a07e
a88d7f3
* Mon Jan 25 2016 Germano Massullo <germano.massullo@gmail.com> - 0.5.1-1
a88d7f3
- LICENSE file added in upstream update
c04c0d1
- Commented %%check section due test file missing in pypi release. See https://github.com/getsentry/responses/issues/98
a88d7f3
a88d7f3
* Sat Jan 23 2016 Germano Massullo <germano.massullo@gmail.com> - 0.5.0-1
a88d7f3
- Package review submission