|
|
e5c3839 |
%global srcname betamax
|
|
|
e5c3839 |
|
|
|
e5c3839 |
Name: python-%{srcname}
|
|
|
7fbd037 |
Version: 0.8.1
|
|
|
b172475 |
Release: 3%{?dist}
|
|
|
c2937c7 |
Summary: VCR imitation for python-requests
|
|
|
e5c3839 |
|
|
|
e5c3839 |
License: ASL 2.0
|
|
|
c2937c7 |
URL: https://github.com/sigmavirus24/%{srcname}
|
|
|
c2937c7 |
Source0: %{url}/archive/%{version}/%{srcname}-%{version}.tar.gz
|
|
|
e5c3839 |
|
|
|
e5c3839 |
BuildArch: noarch
|
|
|
e5c3839 |
|
|
|
c2937c7 |
%global _description \
|
|
|
c2937c7 |
Betamax is a VCR_ imitation for requests. This will make mocking out requests\
|
|
|
e5c3839 |
much easier.
|
|
|
e5c3839 |
|
|
|
c2937c7 |
%description %{_description}
|
|
|
c2937c7 |
|
|
|
c2937c7 |
%package -n python2-%{srcname}
|
|
|
c2937c7 |
Summary: %{summary}
|
|
|
c2937c7 |
%{?python_provide:%python_provide python2-%{srcname}}
|
|
|
c2937c7 |
BuildRequires: python2-devel
|
|
|
c2937c7 |
BuildRequires: python2-setuptools
|
|
|
c2937c7 |
BuildRequires: python2-pytest
|
|
|
c2937c7 |
BuildRequires: python2-requests
|
|
|
c2937c7 |
Requires: python2-requests
|
|
|
c2937c7 |
|
|
|
c2937c7 |
%description -n python2-%{srcname} %{_description}
|
|
|
c2937c7 |
|
|
|
c2937c7 |
Python 2 version.
|
|
|
e5c3839 |
|
|
|
e5c3839 |
%package -n python3-%{srcname}
|
|
|
c2937c7 |
Summary: %{summary}
|
|
|
c2937c7 |
%{?python_provide:%python_provide python3-%{srcname}}
|
|
|
c2937c7 |
BuildRequires: python3-devel
|
|
|
c2937c7 |
BuildRequires: python3-setuptools
|
|
|
e5c3839 |
BuildRequires: python3-requests
|
|
|
e5c3839 |
BuildRequires: python3-pytest
|
|
|
c2937c7 |
Requires: python3-requests
|
|
|
e5c3839 |
|
|
|
c2937c7 |
%description -n python3-%{srcname} %{_description}
|
|
|
c2937c7 |
|
|
|
c2937c7 |
Python 3 version.
|
|
|
e5c3839 |
|
|
|
e5c3839 |
%prep
|
|
|
e5c3839 |
%autosetup -n %{srcname}-%{version}
|
|
|
e5c3839 |
|
|
|
e5c3839 |
%build
|
|
|
e5c3839 |
%py2_build
|
|
|
e5c3839 |
%py3_build
|
|
|
e5c3839 |
|
|
|
e5c3839 |
%install
|
|
|
e5c3839 |
%py2_install
|
|
|
e5c3839 |
%py3_install
|
|
|
e5c3839 |
|
|
|
16bd198 |
# disable tests as they need n/w access
|
|
|
16bd198 |
#%check
|
|
|
16bd198 |
#%{__python2} setup.py test
|
|
|
16bd198 |
#%{__python3} setup.py test
|
|
|
e5c3839 |
|
|
|
c2937c7 |
%files -n python2-%{srcname}
|
|
|
c2937c7 |
%doc README.rst
|
|
|
e5c3839 |
%license LICENSE
|
|
|
c2937c7 |
%{python2_sitelib}/%{srcname}/
|
|
|
c2937c7 |
%{python2_sitelib}/%{srcname}-*.egg-info/
|
|
|
e5c3839 |
|
|
|
e5c3839 |
%files -n python3-%{srcname}
|
|
|
c2937c7 |
%doc README.rst
|
|
|
e5c3839 |
%license LICENSE
|
|
|
c2937c7 |
%{python3_sitelib}/%{srcname}/
|
|
|
c2937c7 |
%{python3_sitelib}/%{srcname}-*.egg-info/
|
|
|
e5c3839 |
|
|
|
e5c3839 |
%changelog
|
|
|
b172475 |
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.1-3
|
|
|
b172475 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
b172475 |
|
|
|
ad9f639 |
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 0.8.1-2
|
|
|
ad9f639 |
- Rebuilt for Python 3.7
|
|
|
ad9f639 |
|
|
|
7fbd037 |
* Wed Mar 14 2018 Parag Nemade <pnemade AT redhat DOT com> - 0.8.1-1
|
|
|
7fbd037 |
- Update to 0.8.1 version (#1555089)
|
|
|
7fbd037 |
|
|
|
04da5a9 |
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.1-7
|
|
|
04da5a9 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
04da5a9 |
|
|
|
548bb18 |
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.1-6
|
|
|
548bb18 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
548bb18 |
|
|
|
82ae7da |
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.1-5
|
|
|
82ae7da |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
82ae7da |
|
|
|
72eaa94 |
* Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 0.7.1-4
|
|
|
72eaa94 |
- Rebuild for Python 3.6
|
|
|
72eaa94 |
|
|
|
7efbb9c |
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.1-3
|
|
|
7efbb9c |
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
|
|
|
7efbb9c |
|
|
|
c2937c7 |
* Wed Jun 29 2016 Igor Gnatenko <ignatenko@redhat.com> - 0.7.1-2
|
|
|
c2937c7 |
- Add missing Requires: pythonX-requests
|
|
|
c2937c7 |
- Make python2- subpkg
|
|
|
c2937c7 |
- Minor fixes
|
|
|
c2937c7 |
|
|
|
ed0730a |
* Wed Jun 15 2016 Parag Nemade <pnemade AT redhat DOT com> - 0.7.1-1
|
|
|
ed0730a |
- Update to 0.7.1 release
|
|
|
ed0730a |
|
|
|
75d7146 |
* Mon May 02 2016 Parag Nemade <pnemade AT redhat DOT com> - 0.7.0-1
|
|
|
75d7146 |
- Update to 0.7.0 release
|
|
|
16bd198 |
- disable tests as they need network access
|
|
|
75d7146 |
|
|
|
76140f2 |
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.1-2
|
|
|
76140f2 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
76140f2 |
|
|
|
e5c3839 |
* Mon Dec 21 2015 Parag Nemade <pnemade AT redhat DOT com> - 0.5.1-1
|
|
|
e5c3839 |
- Initial packaging
|