diff --git a/0001-solve-python3dist-unknow.patch b/0001-solve-python3dist-unknow.patch new file mode 100644 index 0000000..07d49b4 --- /dev/null +++ b/0001-solve-python3dist-unknow.patch @@ -0,0 +1,23 @@ +From cad87500ddb9a56a907b664f1215754a8fdb4783 Mon Sep 17 00:00:00 2001 +From: huangduirong +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 + diff --git a/python-pyspnego.spec b/python-pyspnego.spec index 3ee885b..8a04b28 100644 --- a/python-pyspnego.spec +++ b/python-pyspnego.spec @@ -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 - 0.7.0-2 +- solve python3dist is unknow + * Tue Feb 14 2023 wubijie - 0.7.0-1 - Update package to version 0.7.0