Projects
Eulaceura:Factory
python-ntlm-auth
_service:obs_scm:python-ntlm-auth.spec
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:obs_scm:python-ntlm-auth.spec of Package python-ntlm-auth
%global srcname ntlm-auth %global pypi_name %{srcname} %global gh_owner jborean93 %global library_name ntlm_auth Name: python-%{srcname} Version: 1.5.0 Release: 2 Summary: Python 3 compatible NTLM library (requires md4, thus legacy OpenSSL settings) License: MIT URL: https://pypi.python.org/pypi/%{pypi_name} Source0: https://github.com/%{gh_owner}/%{pypi_name}/archive/v%{version}.tar.gz#/%{srcname}-%{version}.tar.gz BuildArch: noarch BuildRequires: python3-setuptools python3-devel python3-pytest python3-requests BuildRequires: python3dist(cryptography) %description This package allows Python clients running on any operating system to provide NTLM authentication to a supporting server. With OpenSSL 3 or above, the legacy OpenSSL provider needs to be set in order to support md4 in Python. %package -n python3-%{srcname} Obsoletes: python3-ntlm3 < 1.0.3-1 Provides: python3-ntlm3 = %{version}-%{release} Summary: Python 3 compatible NTLM library %{?python_provide:%python_provide python3-%{srcname}} %description -n python3-%{srcname} This package allows Python clients running on any operating system to provide NTLM authentication to a supporting server. %prep %autosetup -n %{pypi_name}-%{version} -p1 rm -rf %{pypi_name}.egg-info %build %py3_build %install %py3_install %check # see https://github.com/jborean93/ntlm-auth/issues/22 cat > openssl.cnf << EOF openssl_conf = openssl_init [openssl_init] providers = provider_sect [provider_sect] default = default_sect legacy = legacy_sect [default_sect] activate = 1 [legacy_sect] activate = 1 EOF export OPENSSL_CONF=${PWD}/openssl.cnf %{__python3} -m pytest --ignore=tests/functional/test_iis.py tests %files -n python3-%{srcname} %doc CHANGES.md README.md %license LICENSE %{python3_sitelib}/%{library_name} %{python3_sitelib}/%{library_name}-%{version}-py%{python3_version}.egg-info %changelog * Thu Feb 2 2023 liyanan <liyanan32@h-partners.com> - 1.5.0-2 - Use the legacy OpenSSL provider in %check to support md4 * Thu Jun 23 2022 SimpleUpdate Robot <tc@openeuler.org> - 1.5.0-1 - Upgrade to version 1.5.0 * Sat Apr 02 2022 yangping <yangping69@huawei.com> - 1.1.0-2 - Fix build error caused by py3.10+ wildcard * Mon May 17 2021 Pengju Jiang <jiangpengju2@huawei.com> - 1.1.0-1 - package init
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2