Blame SPECS/python-requests-kerberos.spec

3adb01
%global upstream_name requests-kerberos
3adb01
%global module_name requests_kerberos
3adb01
%global commit0 393e49c698904c76ad9f56c6e4dbd2dbc55a7c42
3adb01
%global gittag0 v0.12.0
3adb01
%global shortcommit0 %(c=%{commit0}; echo ${c:0:7})
3adb01
3adb01
Name:           python-%{upstream_name}
3adb01
Version:        0.12.0
3adb01
Release:        12%{?dist}
3adb01
Summary:        A Kerberos authentication handler for python-requests
3adb01
License:        MIT
3adb01
URL:            https://github.com/requests/requests-kerberos
3adb01
# Upstream considers Github not PyPI to be the authoritative source tarballs:
3adb01
# https://github.com/requests/requests-kerberos/pull/78
3adb01
Source0:        https://github.com/requests/requests-kerberos/archive/%{commit0}.tar.gz#/%{upstream_name}-%{shortcommit0}.tar.gz
3adb01
# Upstream has switched their requirement to the "pykerberos" fork, but for now 
3adb01
# we still have the original "kerberos" module in Fedora.
3adb01
Patch1:         0001-switch-requirement-from-pykerberos-back-to-kerberos.patch
3adb01
BuildArch:      noarch
3adb01
BuildRequires:  python3-devel
3adb01
BuildRequires:  python3-setuptools
3adb01
BuildRequires:  python3-pytest
3adb01
BuildRequires:  python3-mock
3adb01
3adb01
%description
3adb01
Requests is an HTTP library, written in Python, for human beings. This library 
3adb01
adds optional Kerberos/GSSAPI authentication support and supports mutual 
3adb01
authentication.
3adb01
3adb01
%package -n python3-%{upstream_name}
3adb01
Summary:        %{summary}
3adb01
Requires:       python3-requests >= 1.1
3adb01
Requires:       python3-kerberos
3adb01
Requires:       python3-cryptography
3adb01
# runtime requirements are needed for tests also
3adb01
BuildRequires:  python3-requests >= 1.1
3adb01
BuildRequires:  python3-kerberos
3adb01
BuildRequires:  python3-cryptography
3adb01
%{?python_provide:%python_provide python3-%{upstream_name}}
3adb01
3adb01
%description -n python3-%{upstream_name}
3adb01
Requests is an HTTP library, written in Python, for human beings. This library 
3adb01
adds optional Kerberos/GSSAPI authentication support and supports mutual 
3adb01
authentication.
3adb01
3adb01
%prep
3adb01
%setup -q -n %{upstream_name}-%{commit0}
3adb01
%patch1 -p1
3adb01
3adb01
%build
3adb01
%py3_build
3adb01
3adb01
%check
3adb01
py.test-3 tests/
3adb01
3adb01
%install
3adb01
%py3_install
3adb01
3adb01
%files -n python3-%{upstream_name}
3adb01
%license LICENSE
3adb01
%doc README.rst AUTHORS HISTORY.rst
3adb01
%{python3_sitelib}/%{module_name}
3adb01
%{python3_sitelib}/%{module_name}*.egg-info
3adb01
3adb01
%changelog
3adb01
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.12.0-12
3adb01
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
3adb01
3adb01
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.12.0-11
3adb01
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
3adb01
3adb01
* Sat May 23 2020 Miro Hrončok <mhroncok@redhat.com> - 0.12.0-10
3adb01
- Rebuilt for Python 3.9
3adb01
3adb01
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.12.0-9
3adb01
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
3adb01
3adb01
* Mon Sep 09 2019 Miro Hrončok <mhroncok@redhat.com> - 0.12.0-8
3adb01
- Subpackage python2-requests-kerberos has been removed
3adb01
  See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal
3adb01
3adb01
* Fri Aug 16 2019 Miro Hrončok <mhroncok@redhat.com> - 0.12.0-7
3adb01
- Rebuilt for Python 3.8
3adb01
3adb01
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.12.0-6
3adb01
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
3adb01
3adb01
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.12.0-5
3adb01
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
3adb01
3adb01
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.12.0-4
3adb01
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
3adb01
3adb01
* Sun Jun 17 2018 Miro Hrončok <mhroncok@redhat.com> - 0.12.0-3
3adb01
- Rebuilt for Python 3.7
3adb01
3adb01
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.12.0-2
3adb01
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
3adb01
3adb01
* Mon Jan 08 2018 Dan Callaghan <dcallagh@redhat.com> 0.12.0-1
3adb01
- Upstream release 0.12.0:
3adb01
  https://github.com/requests/requests-kerberos/blob/v0.12.0/HISTORY.rst#0120-2017-12-20
3adb01
3adb01
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.10.0-5
3adb01
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
3adb01
3adb01
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.10.0-4
3adb01
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
3adb01
3adb01
* Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 0.10.0-3
3adb01
- Rebuild for Python 3.6
3adb01
3adb01
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.10.0-2
3adb01
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
3adb01
3adb01
* Tue Jul 12 2016 Dan Callaghan <dcallagh@redhat.com> - 0.10.0-1
3adb01
- upstream bug fix release 0.10.0:
3adb01
  https://github.com/requests/requests-kerberos/blob/v0.10.0/HISTORY.rst#0100-2016-05-18
3adb01
3adb01
* Fri Jul 01 2016 Dan Callaghan <dcallagh@redhat.com> - 0.8.0-5
3adb01
- add Obsoletes for python -> python2 rename
3adb01
3adb01
* Fri Jul 01 2016 Dan Callaghan <dcallagh@redhat.com> - 0.8.0-4
3adb01
- build for Python 2 and 3 (RHBZ#1334415)
3adb01
- use %%license
3adb01
- run tests in %%check
3adb01
3adb01
* Thu Feb 11 2016 Dan Callaghan <dcallagh@redhat.com> - 0.8.0-3
3adb01
- really fix requirements for kerberos module (#1305986)
3adb01
3adb01
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.0-2
3adb01
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
3adb01
3adb01
* Mon Feb 01 2016 Dan Callaghan <dcallagh@redhat.com> - 0.8.0-1
3adb01
- upstream release 0.8.0 (#1296743)
3adb01
3adb01
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.0-3
3adb01
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
3adb01
3adb01
* Thu Jun 11 2015 Dan Callaghan <dcallagh@redhat.com> - 0.7.0-2
3adb01
- relaxed version in kerberos module requirement, to work with
3adb01
  python-kerberos 1.1 (#1215565)
3adb01
3adb01
* Tue May 05 2015 Fedora Release Monitoring <release-monitoring@fedoraproject.org> - 0.7.0-1
3adb01
- Update to 0.7.0 (#1164464)
3adb01
3adb01
* Fri Nov 07 2014 Dan Callaghan <dcallagh@redhat.com> - 0.6-1
3adb01
- fix for mutual authentication handling (RHBZ#1160545, CVE-2014-8650)
3adb01
3adb01
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5-2
3adb01
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
3adb01
3adb01
* Tue May 27 2014 Dan Callaghan <dcallagh@redhat.com> - 0.5-1
3adb01
- upstream bug fix release 0.5
3adb01
3adb01
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3-2
3adb01
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
3adb01
3adb01
* Mon Jun 03 2013 Dan Callaghan <dcallagh@redhat.com> - 0.3-1
3adb01
- upstream bug fix release 0.3
3adb01
3adb01
* Mon May 27 2013 Dan Callaghan <dcallagh@redhat.com> - 0.2-2
3adb01
- require requests >= 1.0
3adb01
3adb01
* Tue May 14 2013 Dan Callaghan <dcallagh@redhat.com> - 0.2-1
3adb01
- initial version