!4 解决python-pyspnego编译时python3dist的名称为unknown
From: @huangduirong Reviewed-by: @xiyuanwang Signed-off-by: @xiyuanwang
This commit is contained in:
commit
837caf8705
23
0001-solve-python3dist-unknow.patch
Normal file
23
0001-solve-python3dist-unknow.patch
Normal file
@ -0,0 +1,23 @@
|
||||
From cad87500ddb9a56a907b664f1215754a8fdb4783 Mon Sep 17 00:00:00 2001
|
||||
From: huangduirong <huangduirong@huawei.com>
|
||||
Date: Wed, 15 Feb 2023 02:49:31 -0500
|
||||
Subject: [PATCH] x
|
||||
|
||||
---
|
||||
setup.cfg | 3 +++
|
||||
1 file changed, 3 insertions(+)
|
||||
|
||||
diff --git a/setup.cfg b/setup.cfg
|
||||
index 8bfd5a1..3e4fe7e 100644
|
||||
--- a/setup.cfg
|
||||
+++ b/setup.cfg
|
||||
@@ -2,3 +2,6 @@
|
||||
tag_build =
|
||||
tag_date = 0
|
||||
|
||||
+[metadata]
|
||||
+name = pyspnego
|
||||
+version = 0.7.0
|
||||
--
|
||||
2.35.1
|
||||
|
||||
@ -1,11 +1,14 @@
|
||||
%global _empty_manifest_terminate_build 0
|
||||
Name: python-pyspnego
|
||||
Version: 0.7.0
|
||||
Release: 1
|
||||
Release: 2
|
||||
Summary: Windows Negotiate Authentication Client and Server
|
||||
License: MIT
|
||||
URL: https://github.com/jborean93/pyspnego
|
||||
Source0: https://files.pythonhosted.org/packages/97/f3/bdf3cd5f4c5a1bf9e1d4bb771c133850ee08241c18cafd90a6d872937a9f/pyspnego-0.7.0.tar.gz
|
||||
|
||||
Patch0: 0001-solve-python3dist-unknow.patch
|
||||
|
||||
BuildArch: noarch
|
||||
%description
|
||||
Python SPNEGO Library to handle SPNEGO (Negotiate, NTLM, Kerberos) and CredSSP authentication. Also includes a packet parser that can be used to decode raw NTLM/SPNEGO/Kerberos tokens into a human readable format.
|
||||
@ -39,7 +42,7 @@ Provides: python3-pyspnego-doc
|
||||
Library to handle SPNEGO (Negotiate, NTLM, Kerberos) and CredSSP authentication. Also includes a packet parser that can be used to decode raw NTLM/SPNEGO/Kerberos tokens into a human readable format.
|
||||
|
||||
%prep
|
||||
%autosetup -n pyspnego-%{version}
|
||||
%autosetup -n pyspnego-%{version} -p1
|
||||
|
||||
%build
|
||||
%py3_build
|
||||
@ -83,6 +86,9 @@ PYTHONPATH=src/ pytest-3 -v tests
|
||||
%{_docdir}/*
|
||||
|
||||
%changelog
|
||||
* Wed Feb 15 2023 huangduirong <huangduirong@kylinos.cn> - 0.7.0-2
|
||||
- solve python3dist is unknow
|
||||
|
||||
* Tue Feb 14 2023 wubijie <wubijie@kylinos.cn> - 0.7.0-1
|
||||
- Update package to version 0.7.0
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user