!4 Package upgrade

From: @starlet-dx 
Reviewed-by: @myeuler 
Signed-off-by: @myeuler
This commit is contained in:
openeuler-ci-bot 2022-06-28 02:11:58 +00:00 committed by Gitee
commit 3a06b858a8
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
4 changed files with 7 additions and 20 deletions

Binary file not shown.

BIN
ntlm-auth-1.5.0.tar.gz Normal file

Binary file not shown.

View File

@ -1,16 +0,0 @@
diff --git a/setup.py b/setup.py
index eda4811..3ccbe40 100644
--- a/setup.py
+++ b/setup.py
@@ -16,11 +16,6 @@ setup(
version='1.1.0',
packages=['ntlm_auth'],
install_requires=[],
- extras_require={
- ':python_version<"2.7"': [
- 'ordereddict'
- ]
- },
author='Jordan Borean',
author_email='jborean93@gmail.com',
url='https://github.com/jborean93/ntlm-auth',

View File

@ -3,15 +3,15 @@
%global gh_owner jborean93
%global library_name ntlm_auth
Name: python-%{srcname}
Version: 1.1.0
Release: 2
Version: 1.5.0
Release: 1
Summary: Python 3 compatible NTLM library
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
Patch0: ntlm-auth-epel-setuptools.patch
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.
@ -26,7 +26,7 @@ Summary: Python 3 compatible NTLM library
NTLM authentication to a supporting server.
%prep
%autosetup -n %{pypi_name}-%{version}
%autosetup -n %{pypi_name}-%{version} -p1
rm -rf %{pypi_name}.egg-info
%build
@ -45,6 +45,9 @@ rm -rf %{pypi_name}.egg-info
%{python3_sitelib}/%{library_name}-%{version}-py%{python3_version}.egg-info
%changelog
* 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