db323a6
%global sname urllib-gssapi
db323a6
%global s_name urllib_gssapi
db323a6
db323a6
Name:           python-%{sname}
09b4bfb
Version:        1.0.2
5b8e296
Release:        13%{?dist}
db323a6
Summary:        A GSSAPI/SPNEGO authentication handler for urllib/urllib2
db323a6
975ddfa
License:        Apache-2.0
db323a6
URL:            https://github.com/pythongssapi/%{sname}
db323a6
Source0:        https://github.com/pythongssapi/%{sname}/releases/download/v%{version}/%{s_name}-%{version}.tar.gz
db323a6
BuildArch:      noarch
db323a6
db323a6
# Patches
db323a6
db323a6
BuildRequires:  git-core
db323a6
db323a6
BuildRequires:  python3-devel
db323a6
BuildRequires:  python3-gssapi
db323a6
BuildRequires:  python3-setuptools
db323a6
db323a6
%global _description\
db323a6
urllib_gssapi is a backend for urllib.  It provides GSSAPI/SPNEGO\
db323a6
authentication to HTTP servers.  urllib_gssapi replaces urllib_kerberos and\
db323a6
behaves in the same ways.
db323a6
db323a6
%description %_description
db323a6
db323a6
%package -n python3-%{sname}
db323a6
Summary:        %summary
db323a6
Requires:       python3-gssapi
db323a6
%{?python_provide:%python_provide python3-%{sname}}
db323a6
%description -n python3-%{sname} %_description
db323a6
db323a6
%prep
db323a6
%autosetup -S git -n %{s_name}-%{version}
db323a6
db323a6
%build
db323a6
%py3_build
db323a6
db323a6
db323a6
%install
db323a6
%py3_install
db323a6
db323a6
%check
a92239f
%py3_check_import %{s_name}
db323a6
db323a6
%files -n python3-%{sname}
db323a6
%doc README.md
db323a6
%license COPYING
db323a6
%{python3_sitelib}/%{s_name}*
db323a6
db323a6
%changelog
5b8e296
* Fri Jun 07 2024 Python Maint <python-maint@redhat.com> - 1.0.2-13
5b8e296
- Rebuilt for Python 3.13
5b8e296
67616f5
* Fri Jan 26 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.2-12
67616f5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
67616f5
fdce4b7
* Mon Jan 22 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.2-11
fdce4b7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
fdce4b7
3d3cc35
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.2-10
3d3cc35
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
3d3cc35
b79c14e
* Tue Jun 13 2023 Python Maint <python-maint@redhat.com> - 1.0.2-9
b79c14e
- Rebuilt for Python 3.12
b79c14e
e8e679b
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.2-8
e8e679b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
e8e679b
31d7e8a
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.2-7
31d7e8a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
31d7e8a
0e6fabb
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 1.0.2-6
0e6fabb
- Rebuilt for Python 3.11
0e6fabb
76f0848
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.2-5
76f0848
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
76f0848
7ab45d5
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.2-4
7ab45d5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
7ab45d5
28c453d
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 1.0.2-3
28c453d
- Rebuilt for Python 3.10
28c453d
51e0db4
* Fri Mar 19 2021 Robbie Harwood <rharwood@redhat.com> - 1.0.2-2
51e0db4
- Drop dependency on python-nose
51e0db4
09b4bfb
* Fri Mar 19 2021 Robbie Harwood <rharwood@redhat.com> - 1.0.2-1
09b4bfb
- New upstream release (1.0.2)
09b4bfb
0544e5d
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.1-13
0544e5d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
0544e5d
d19eb72
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.1-12
d19eb72
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
d19eb72
792762b
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 1.0.1-11
792762b
- Rebuilt for Python 3.9
792762b
f8ddbe2
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.1-10
f8ddbe2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
f8ddbe2
02bb763
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 1.0.1-9
02bb763
- Rebuilt for Python 3.8.0rc1 (#1748018)
02bb763
f0c573c
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 1.0.1-8
f0c573c
- Rebuilt for Python 3.8
f0c573c
2cd244a
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.1-7
2cd244a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
2cd244a
b436c8d
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.1-6
b436c8d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
b436c8d
5b614ff
* Tue Dec 04 2018 Robbie Harwood <rharwood@redhat.com> - 1.0.1-5
5b614ff
- Drop python2 subpackage
5b614ff
- Resolves: #1655258
5b614ff
a5866e9
* Mon Sep 24 2018 Robbie Harwood <rharwood@redhat.com> - 1.0.1-4
a5866e9
- Drop requirement on python-requests
a5866e9
- Resolves: #1631938
a5866e9
0c7bb25
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.1-3
0c7bb25
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
0c7bb25
d36fca4
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 1.0.1-2
d36fca4
- Rebuilt for Python 3.7
d36fca4
db323a6
* Fri Feb 23 2018 Robbie Harwood <rharwood@redhat.com> - 1.0.1-1
db323a6
- New upstream release (v1.0.0)
db323a6
- Adds COPYING and removes shebang
db323a6
- Resolves: #1546835
db323a6
db323a6
* Mon Feb 19 2018 Robbie Harwood <rharwood@redhat.com> - 1.0.0-1
db323a6
- New upstream release (v1.0.0)