%global srcname ntlm-auth Name: python-%{srcname} Version: 1.5.0 Release: 2%{?dist} Summary: Python 3 compatible NTLM library License: LGPLv3+ URL: https://pypi.python.org/pypi/ntlm-auth Source: https://github.com/jborean93/ntlm-auth/archive/v%{version}/%{srcname}-%{version}.tar.gz BuildArch: noarch BuildRequires: python%{python3_pkgversion}-devel BuildRequires: python%{python3_pkgversion}-setuptools # For tests BuildRequires: python%{python3_pkgversion}-pytest BuildRequires: python%{python3_pkgversion}-pluggy BuildRequires: python%{python3_pkgversion}-requests BuildRequires: python%{python3_pkgversion}-cryptography %global _description %{expand: This package allows Python clients running on any operating system to provide NTLM authentication to a supporting server.} %description %{_description} %package -n python%{python3_pkgversion}-%{srcname} Summary: %{summary} Obsoletes: python%{python3_pkgversion}-ntlm3 < 1.0.3-1 Provides: python%{python3_pkgversion}-ntlm3 = %{version}-%{release} %{?python_provide:%python_provide python%{python3_pkgversion}-%{srcname}} %description -n python%{python3_pkgversion}-%{srcname} %{_description} %prep %autosetup -n %{srcname}-%{version} %build %py3_build %install %py3_install %check %python3 -m pytest -vv %files -n python%{python3_pkgversion}-%{srcname} %doc CHANGES.md README.md %license LICENSE %{python3_sitelib}/ntlm_auth-*.egg-info/ %{python3_sitelib}/ntlm_auth/ %changelog * Wed Jan 27 2021 Fedora Release Engineering - 1.5.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Mon Sep 14 2020 Joel Capitao - 1.5.0-1 - Update to 1.5.0 * Wed Jul 29 2020 Fedora Release Engineering - 1.1.0-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue May 26 2020 Miro Hrončok - 1.1.0-10 - Rebuilt for Python 3.9 * Thu Jan 30 2020 Fedora Release Engineering - 1.1.0-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Thu Oct 03 2019 Miro Hrončok - 1.1.0-8 - Rebuilt for Python 3.8.0rc1 (#1748018) * Mon Aug 19 2019 Miro Hrončok - 1.1.0-7 - Rebuilt for Python 3.8 * Fri Jul 26 2019 Fedora Release Engineering - 1.1.0-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Thu Apr 11 2019 Miro Hrončok - 1.1.0-5 - Subpackage python2-ntlm-auth has been removed See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal * Sat Feb 02 2019 Fedora Release Engineering - 1.1.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Sat Jul 14 2018 Fedora Release Engineering - 1.1.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Tue Jun 19 2018 Miro Hrončok - 1.1.0-2 - Rebuilt for Python 3.7 * Tue Apr 17 2018 James Hogarth = 1.1.0-1 * Upstream update to 1.1.0 * Mon Oct 10 2016 James Hogarth - 1.0.2-1 - Initial package.