python-ntlm-auth: add BR on `pip` & drop BR on `pytest` to enable ptest (#3652)

Signed-off-by: Muhammad Falak R Wani <falakreyaz@gmail.com>
This commit is contained in:
Muhammad Falak R Wani 2022-09-01 13:11:56 +05:30 committed by GitHub
parent 1de247e3b5
commit 6bc20e6f95
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 10 additions and 3 deletions

View File

@ -2,7 +2,7 @@
Name: python-%{srcname}
Version: 1.5.0
Release: 5%{?dist}
Release: 6%{?dist}
Summary: Python 3 compatible NTLM library
Vendor: Microsoft Corporation
Distribution: Mariner
@ -14,9 +14,12 @@ BuildArch: noarch
BuildRequires: python3-devel
BuildRequires: python3dist(setuptools)
# For tests
BuildRequires: python3dist(pytest)
%if %{with_check}
BuildRequires: python3dist(requests)
BuildRequires: python3dist(cryptography)
BuildRequires: python3-pip
%endif
%global _description %{expand:
This package allows Python clients running on any operating system to provide
@ -42,7 +45,8 @@ Provides: python3-ntlm3 = %{version}-%{release}
%py3_install
%check
%python3 -m pytest -vv
%{__python3} -m pip install pytest==7.1.2
%pytest -vv
%files -n python3-%{srcname}
%doc CHANGES.md README.md
@ -51,6 +55,9 @@ Provides: python3-ntlm3 = %{version}-%{release}
%{python3_sitelib}/ntlm_auth/
%changelog
* Thu Sep 01 2022 Muhammad Falak <mwani@microsoft.com> - 1.5.0-6
- Add BR on `pip` & drop BR on `pytest` to enable ptest
* Mon Dec 27 2021 Suresh Babu Chalamalasetty <schalam@microsoft.com> - 1.5.0-5
- Initial CBL-Mariner import from Fedora 35 (license: MIT)
- License verified