|
|
40f98b1 |
%global upstream_name aiohttp-negotiate
|
|
|
40f98b1 |
%global modname aiohttp_negotiate
|
|
|
40f98b1 |
|
|
|
40f98b1 |
Name: python-%{upstream_name}
|
|
|
40f98b1 |
Version: 0.11
|
|
|
dcc86da |
Release: 11%{?dist}
|
|
|
40f98b1 |
Summary: Add-on for Python aiohttp library to support Negotiate authentication
|
|
|
40f98b1 |
License: BSD
|
|
|
40f98b1 |
URL: https://github.com/ox-it/aiohttp-negotiate
|
|
|
40f98b1 |
Source0: https://github.com/ox-it/%{upstream_name}/archive/%{version}.tar.gz#/%{upstream_name}-%{version}.tar.gz
|
|
|
40f98b1 |
# https://github.com/ox-it/aiohttp-negotiate/pull/1
|
|
|
40f98b1 |
Source1: https://raw.githubusercontent.com/danc86/aiohttp-negotiate/350ac51ba0ab0b871d39c975af27d027e35f514e/LICENSE
|
|
|
40f98b1 |
BuildArch: noarch
|
|
|
40f98b1 |
|
|
|
40f98b1 |
%global _description \
|
|
|
40f98b1 |
A mixin for supporting Negotiate authentication with aiohttp.
|
|
|
40f98b1 |
|
|
|
40f98b1 |
%description %{_description}
|
|
|
40f98b1 |
|
|
|
40f98b1 |
%package -n python%{python3_pkgversion}-%{upstream_name}
|
|
|
40f98b1 |
Summary: %{summary}
|
|
|
40f98b1 |
%{?python_provide:%python_provide python%{python3_pkgversion}-%{upstream_name}}
|
|
|
40f98b1 |
BuildRequires: python%{python3_pkgversion}-devel
|
|
|
40f98b1 |
BuildRequires: python%{python3_pkgversion}-setuptools
|
|
|
40f98b1 |
Requires: python%{python3_pkgversion}-aiohttp
|
|
|
40f98b1 |
Requires: python%{python3_pkgversion}-www-authenticate
|
|
|
40f98b1 |
Requires: python%{python3_pkgversion}-gssapi
|
|
|
40f98b1 |
|
|
|
40f98b1 |
%description -n python%{python3_pkgversion}-%{upstream_name} %{_description}
|
|
|
40f98b1 |
|
|
|
40f98b1 |
Python %{python3_pkgversion} version.
|
|
|
40f98b1 |
|
|
|
40f98b1 |
%if 0%{?with_python3_other}
|
|
|
40f98b1 |
%package -n python%{python3_other_pkgversion}-%{upstream_name}
|
|
|
40f98b1 |
Summary: %{summary}
|
|
|
40f98b1 |
%{?python_provide:%python_provide python%{python3_other_pkgversion}-%{upstream_name}}
|
|
|
40f98b1 |
BuildRequires: python%{python3_other_pkgversion}-devel
|
|
|
40f98b1 |
BuildRequires: python%{python3_other_pkgversion}-setuptools
|
|
|
40f98b1 |
Requires: python%{python3_other_pkgversion}-aiohttp
|
|
|
40f98b1 |
Requires: python%{python3_other_pkgversion}-www-authenticate
|
|
|
40f98b1 |
Requires: python%{python3_other_pkgversion}-gssapi
|
|
|
40f98b1 |
|
|
|
40f98b1 |
%description -n python%{python3_other_pkgversion}-%{upstream_name} %{_description}
|
|
|
40f98b1 |
|
|
|
40f98b1 |
Python %{python3_other_pkgversion} version.
|
|
|
40f98b1 |
%endif
|
|
|
40f98b1 |
|
|
|
40f98b1 |
%prep
|
|
|
40f98b1 |
%autosetup -n %{upstream_name}-%{version}
|
|
|
40f98b1 |
cp -p %{SOURCE1} .
|
|
|
40f98b1 |
|
|
|
40f98b1 |
%build
|
|
|
40f98b1 |
%py3_build
|
|
|
40f98b1 |
%if 0%{?with_python3_other}
|
|
|
40f98b1 |
%py3_other_build
|
|
|
40f98b1 |
%endif
|
|
|
40f98b1 |
|
|
|
40f98b1 |
%install
|
|
|
40f98b1 |
%py3_install
|
|
|
40f98b1 |
%if 0%{?with_python3_other}
|
|
|
40f98b1 |
%py3_other_install
|
|
|
40f98b1 |
%endif
|
|
|
40f98b1 |
|
|
|
40f98b1 |
%check
|
|
|
40f98b1 |
# No tests. :-(
|
|
|
40f98b1 |
|
|
|
40f98b1 |
%files -n python%{python3_pkgversion}-%{upstream_name}
|
|
|
40f98b1 |
%license LICENSE
|
|
|
40f98b1 |
%doc README.rst
|
|
|
40f98b1 |
%{python3_sitelib}/%{modname}.py*
|
|
|
40f98b1 |
%{python3_sitelib}/__pycache__/%{modname}.*
|
|
|
40f98b1 |
%{python3_sitelib}/%{modname}-*.egg-info
|
|
|
40f98b1 |
|
|
|
40f98b1 |
%if 0%{?with_python3_other}
|
|
|
40f98b1 |
%files -n python%{python3_other_pkgversion}-%{upstream_name}
|
|
|
40f98b1 |
%license LICENSE
|
|
|
40f98b1 |
%doc README.rst
|
|
|
40f98b1 |
%{python3_other_sitelib}/%{modname}.py*
|
|
|
40f98b1 |
%{python3_other_sitelib}/__pycache__/%{modname}.*
|
|
|
40f98b1 |
%{python3_other_sitelib}/%{modname}-*.egg-info
|
|
|
40f98b1 |
%endif
|
|
|
40f98b1 |
|
|
|
40f98b1 |
%changelog
|
|
|
dcc86da |
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.11-11
|
|
|
dcc86da |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
dcc86da |
|
|
|
f3939d8 |
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 0.11-10
|
|
|
f3939d8 |
- Rebuilt for Python 3.8.0rc1 (#1748018)
|
|
|
f3939d8 |
|
|
|
da09af0 |
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 0.11-9
|
|
|
da09af0 |
- Rebuilt for Python 3.8
|
|
|
da09af0 |
|
|
|
798112a |
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.11-8
|
|
|
798112a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
798112a |
|
|
|
cb98a84 |
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.11-7
|
|
|
cb98a84 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
cb98a84 |
|
|
|
475b863 |
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.11-6
|
|
|
475b863 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
475b863 |
|
|
|
901122e |
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 0.11-5
|
|
|
901122e |
- Rebuilt for Python 3.7
|
|
|
901122e |
|
|
|
91b2bb0 |
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.11-4
|
|
|
91b2bb0 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
91b2bb0 |
|
|
|
d8ff33f |
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.11-3
|
|
|
d8ff33f |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
d8ff33f |
|
|
|
a1c280a |
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.11-2
|
|
|
a1c280a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
a1c280a |
|
|
|
40f98b1 |
* Thu Dec 08 2016 Dan Callaghan <dcallagh@redhat.com> - 0.11-1
|
|
|
40f98b1 |
- initial version
|