a3b4106
%global sname requests-gssapi
a3b4106
%global s_name requests_gssapi
a3b4106
a3b4106
Name:           python-%{sname}
d269b84
Version:        1.2.3
689454f
Release:        9%{?dist}
a3b4106
Summary:        A GSSAPI/SPNEGO authentication handler for python-requests
a3b4106
a3b4106
License:        ISC
a3b4106
URL:            https://github.com/pythongssapi/%{sname}
a3b4106
Source0:        https://github.com/pythongssapi/%{sname}/releases/download/v%{version}/%{sname}-%{version}.tar.gz
a3b4106
BuildArch:      noarch
a3b4106
a3b4106
# Patches
a3b4106
a3b4106
BuildRequires:  git-core
a3b4106
BuildRequires:  python3-devel
a3b4106
BuildRequires:  python3-gssapi
a3b4106
BuildRequires:  python3-requests
a3b4106
BuildRequires:  python3-setuptools
a3b4106
a3b4106
%global _description\
a3b4106
Requests is an HTTP library, written in Python, for human beings. This\
a3b4106
library adds optional GSSAPI authentication support and supports\
a3b4106
mutual authentication. It includes a fully backward-compatible shim\
a3b4106
for requests-kerberos.
a3b4106
a3b4106
%description %_description
a3b4106
a3b4106
%package -n python3-%{sname}
a3b4106
Summary:        %summary
a3b4106
Requires:       python3-gssapi
a3b4106
Requires:       python3-requests
a3b4106
%{?python_provide:%python_provide python3-%{sname}}
a3b4106
%description -n python3-%{sname} %_description
a3b4106
a3b4106
%prep
d269b84
%autosetup -S git_am -n %{sname}-%{version}
a3b4106
a3b4106
%build
a3b4106
a3b4106
%py3_build
a3b4106
a3b4106
%install
a3b4106
%py3_install
a3b4106
a3b4106
%check
d269b84
%{__python3} -m unittest
a3b4106
a3b4106
%files -n python3-%{sname}
a3b4106
%doc README.rst AUTHORS HISTORY.rst
a3b4106
%license LICENSE
a3b4106
%{python3_sitelib}/%{s_name}*
a3b4106
a3b4106
a3b4106
%changelog
689454f
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.3-9
689454f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
689454f
142eb45
* Tue Jun 13 2023 Python Maint <python-maint@redhat.com> - 1.2.3-8
142eb45
- Rebuilt for Python 3.12
142eb45
eb1866e
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.3-7
eb1866e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
eb1866e
45944d6
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.3-6
45944d6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
45944d6
6304715
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 1.2.3-5
6304715
- Rebuilt for Python 3.11
6304715
f395976
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.3-4
f395976
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
f395976
8a8b30f
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.3-3
8a8b30f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
8a8b30f
e628f87
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 1.2.3-2
e628f87
- Rebuilt for Python 3.10
e628f87
d269b84
* Mon Feb 08 2021 Robbie Harwood <rharwood@redhat.com> - 1.2.3-1
d269b84
- New upstream release (1.2.3)
d269b84
a14d8fc
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.2-2
a14d8fc
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
a14d8fc
bae1190
* Fri Aug 07 2020 Robbie Harwood <rharwood@redhat.com> - 1.2.2-1
bae1190
- New upstream release (1.2.2)
bae1190
58eb537
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.1-3
58eb537
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
58eb537
093da86
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 1.2.1-2
093da86
- Rebuilt for Python 3.9
093da86
ebf2be4
* Tue Mar 31 2020 Robbie Harwood <rharwood@redhat.com> - 1.2.1-1
ebf2be4
- New upstream release (1.2.1)
ebf2be4
7c26100
* Tue Feb 18 2020 Robbie Harwood <rharwood@redhat.com> - 1.2.0-1
7c26100
- New upstream release (1.2.0)
7c26100
efd2ca9
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-5
efd2ca9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
efd2ca9
b2ef047
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 1.1.0-4
b2ef047
- Rebuilt for Python 3.8.0rc1 (#1748018)
b2ef047
ed1ad7d
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 1.1.0-3
ed1ad7d
- Rebuilt for Python 3.8
ed1ad7d
a1de9f2
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-2
a1de9f2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
a1de9f2
64e98ef
* Tue May 21 2019 Robbie Harwood <rharwood@redhat.com> - 1.1.0-1
64e98ef
- New upstream release (1.1.0)
64e98ef
47aa7c1
* Thu Apr 11 2019 Robbie Harwood <rharwood@redhat.com> - 1.0.1-1
47aa7c1
- New upstream release (1.0.1)
47aa7c1
- Resolves: #1698650
47aa7c1
0388f56
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.0-6
0388f56
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
0388f56
95d15c5
* Mon Sep 17 2018 Robbie Harwood <rharwood@redhat.com> - 1.0.0-5
95d15c5
- Drop python2 subpackage
95d15c5
- Resolves: #1629796
95d15c5
3c3c769
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.0-4
3c3c769
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
3c3c769
8b4b64b
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 1.0.0-3
8b4b64b
- Rebuilt for Python 3.7
8b4b64b
dfc31bc
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.0-2
dfc31bc
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
dfc31bc
a3b4106
* Tue Dec 19 2017 Robbie Harwood <rharwood@redhat.com> - 1.0.0-1
a3b4106
- New upstream release (v1.0.0)