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