Blame python-aiohttp-negotiate.spec

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