!8 update to upstream version 0.9.1
From: @desert-sailor Reviewed-by: @xiyuanwang Signed-off-by: @xiyuanwang
This commit is contained in:
commit
713078cd7f
@ -1,23 +0,0 @@
|
|||||||
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
|
|
||||||
|
|
||||||
Binary file not shown.
BIN
pyspnego-0.9.1.tar.gz
Normal file
BIN
pyspnego-0.9.1.tar.gz
Normal file
Binary file not shown.
@ -1,15 +1,13 @@
|
|||||||
%global _empty_manifest_terminate_build 0
|
%global _empty_manifest_terminate_build 0
|
||||||
Name: python-pyspnego
|
Name: python-pyspnego
|
||||||
Version: 0.7.0
|
Version: 0.9.1
|
||||||
Release: 2
|
Release: 1
|
||||||
Summary: Windows Negotiate Authentication Client and Server
|
Summary: Windows Negotiate Authentication Client and Server
|
||||||
License: MIT
|
License: MIT
|
||||||
URL: https://github.com/jborean93/pyspnego
|
URL: https://github.com/jborean93/pyspnego
|
||||||
Source0: https://files.pythonhosted.org/packages/97/f3/bdf3cd5f4c5a1bf9e1d4bb771c133850ee08241c18cafd90a6d872937a9f/pyspnego-0.7.0.tar.gz
|
Source0: https://files.pythonhosted.org/packages/fb/38/46174701e2a2de8b72e79c980324b034203edafff3c543a4134b2c1ae9af/pyspnego-0.9.1.tar.gz
|
||||||
|
|
||||||
Patch0: 0001-solve-python3dist-unknow.patch
|
BuildArch: noarch
|
||||||
|
|
||||||
BuildArch: noarch
|
|
||||||
%description
|
%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.
|
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.
|
||||||
|
|
||||||
@ -19,9 +17,11 @@ Provides: python-pyspnego
|
|||||||
# Base build requires
|
# Base build requires
|
||||||
BuildRequires: python3-devel
|
BuildRequires: python3-devel
|
||||||
BuildRequires: python3-setuptools
|
BuildRequires: python3-setuptools
|
||||||
|
BuildRequires: python3-setuptools_scm
|
||||||
BuildRequires: python3-pbr
|
BuildRequires: python3-pbr
|
||||||
BuildRequires: python3-pip
|
BuildRequires: python3-pip
|
||||||
BuildRequires: python3-wheel
|
BuildRequires: python3-wheel
|
||||||
|
BuildRequires: python3-hatchling
|
||||||
# General requires
|
# General requires
|
||||||
BuildRequires: python3-cryptography
|
BuildRequires: python3-cryptography
|
||||||
BuildRequires: python3-gssapi
|
BuildRequires: python3-gssapi
|
||||||
@ -45,47 +45,34 @@ Library to handle SPNEGO (Negotiate, NTLM, Kerberos) and CredSSP authentication.
|
|||||||
%autosetup -n pyspnego-%{version} -p1
|
%autosetup -n pyspnego-%{version} -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%py3_build
|
%pyproject_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%py3_install
|
%pyproject_install
|
||||||
|
|
||||||
install -d -m755 %{buildroot}/%{_pkgdocdir}
|
install -d -m755 %{buildroot}/%{_pkgdocdir}
|
||||||
if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi
|
if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi
|
||||||
if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi
|
if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi
|
||||||
if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi
|
if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi
|
||||||
if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi
|
if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi
|
||||||
pushd %{buildroot}
|
|
||||||
if [ -d usr/lib ]; then
|
|
||||||
find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst
|
|
||||||
fi
|
|
||||||
if [ -d usr/lib64 ]; then
|
|
||||||
find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst
|
|
||||||
fi
|
|
||||||
if [ -d usr/bin ]; then
|
|
||||||
find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst
|
|
||||||
fi
|
|
||||||
if [ -d usr/sbin ]; then
|
|
||||||
find usr/sbin -type f -printf "/%h/%f\n" >> filelist.lst
|
|
||||||
fi
|
|
||||||
touch doclist.lst
|
|
||||||
if [ -d usr/share/man ]; then
|
|
||||||
find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst
|
|
||||||
fi
|
|
||||||
popd
|
|
||||||
mv %{buildroot}/filelist.lst .
|
|
||||||
mv %{buildroot}/doclist.lst .
|
|
||||||
|
|
||||||
%check
|
%check
|
||||||
PYTHONPATH=src/ pytest-3 -v tests
|
PYTHONPATH=src/ pytest-3 -v tests
|
||||||
|
|
||||||
%files -n python3-pyspnego -f filelist.lst
|
%files -n python3-pyspnego
|
||||||
%dir %{python3_sitelib}/*
|
%doc README.md
|
||||||
|
%license LICENSE
|
||||||
|
%{_bindir}/pyspnego-parse
|
||||||
|
%{python3_sitelib}/spnego
|
||||||
|
%{python3_sitelib}/pyspnego*.dist-info/
|
||||||
|
|
||||||
%files help -f doclist.lst
|
%files help
|
||||||
%{_docdir}/*
|
%{_docdir}/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Jul 17 2023 Dongxing Wang <dxwangk@isoftstone.com> - 0.9.1-1
|
||||||
|
- Update package to version 0.9.1
|
||||||
|
|
||||||
* Wed Feb 15 2023 huangduirong <huangduirong@kylinos.cn> - 0.7.0-2
|
* Wed Feb 15 2023 huangduirong <huangduirong@kylinos.cn> - 0.7.0-2
|
||||||
- solve python3dist is unknow
|
- solve python3dist is unknow
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user