From 812e1246c9c0ab6892d8aca6db9a36bc5ab823d24a5041edbb8f2769b6cb072d Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Mon, 5 Dec 2022 17:44:24 +0000 Subject: [PATCH 1/4] Accepting request 1040282 from home:yarunachalam:branches:devel:languages:python - Update to version 1.10.1 * Raise the original BadNetworkName error if the server doesn't indicate it supports DFS or FSDriverRequired was raised trying to lookup the DFS information - #196 * Fix pre auth session id tracking if the intermediate token messages return 0 as the session id OBS-URL: https://build.opensuse.org/request/show/1040282 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-smbprotocol?expand=0&rev=33 --- python-smbprotocol-1.10.0.tar.gz | 3 --- python-smbprotocol-1.10.1.tar.gz | 3 +++ python-smbprotocol.changes | 8 ++++++++ python-smbprotocol.spec | 2 +- 4 files changed, 12 insertions(+), 4 deletions(-) delete mode 100644 python-smbprotocol-1.10.0.tar.gz create mode 100644 python-smbprotocol-1.10.1.tar.gz diff --git a/python-smbprotocol-1.10.0.tar.gz b/python-smbprotocol-1.10.0.tar.gz deleted file mode 100644 index 71b477e..0000000 --- a/python-smbprotocol-1.10.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:40ef5aa26ad82867ffe858dbef06beaa78fdfaaa60b26a0c22048632be533e0c -size 188871 diff --git a/python-smbprotocol-1.10.1.tar.gz b/python-smbprotocol-1.10.1.tar.gz new file mode 100644 index 0000000..87e5447 --- /dev/null +++ b/python-smbprotocol-1.10.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:662818cd41138c031952a3eb66079ce4348d5848a3009c1dccee6f10764e0ed7 +size 189238 diff --git a/python-smbprotocol.changes b/python-smbprotocol.changes index 0c37e5a..3bdf5f3 100644 --- a/python-smbprotocol.changes +++ b/python-smbprotocol.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Mon Dec 5 13:36:15 UTC 2022 - Yogalakshmi Arunachalam + +- Update to version 1.10.1 + * Raise the original BadNetworkName error if the server doesn't indicate it supports DFS or + FSDriverRequired was raised trying to lookup the DFS information - #196 + * Fix pre auth session id tracking if the intermediate token messages return 0 as the session id + ------------------------------------------------------------------- Sun Nov 6 20:32:55 UTC 2022 - Martin Hauke diff --git a/python-smbprotocol.spec b/python-smbprotocol.spec index 2d9b79e..a88c332 100644 --- a/python-smbprotocol.spec +++ b/python-smbprotocol.spec @@ -18,7 +18,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-smbprotocol -Version: 1.10.0 +Version: 1.10.1 Release: 0 Summary: SMBv2/v3 client for Python 2 and 3 License: MIT From 22dc52efb65237eb7089f482f83d37f114a0b34cd559d7b2bfdbd2b7014394e1 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Mon, 5 Dec 2022 17:46:17 +0000 Subject: [PATCH 2/4] Clean up SPEC file OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-smbprotocol?expand=0&rev=34 --- python-smbprotocol.spec | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/python-smbprotocol.spec b/python-smbprotocol.spec index a88c332..71c1969 100644 --- a/python-smbprotocol.spec +++ b/python-smbprotocol.spec @@ -16,7 +16,6 @@ # -%{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-smbprotocol Version: 1.10.1 Release: 0 @@ -74,6 +73,6 @@ Features %doc CHANGELOG.md README.md %{python_sitelib}/smbclient %{python_sitelib}/smbprotocol -%{python_sitelib}/smbprotocol-%{version}-py%{python_version}.egg-info +%{python_sitelib}/smbprotocol-%{version}*-info %changelog From f7bffeadf39a89bc13717b409c6ec671ced9072697c292f782996a2d20945f4a Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Mon, 5 Dec 2022 17:47:41 +0000 Subject: [PATCH 3/4] Clean up SPEC file OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-smbprotocol?expand=0&rev=35 --- python-smbprotocol.spec | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/python-smbprotocol.spec b/python-smbprotocol.spec index 71c1969..52f11ca 100644 --- a/python-smbprotocol.spec +++ b/python-smbprotocol.spec @@ -26,10 +26,12 @@ URL: https://github.com/jborean93/smbprotocol #Source: https://files.pythonhosted.org/packages/source/s/smbprotocol/smbprotocol-%%{version}.tar.gz Source: https://github.com/jborean93/smbprotocol/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz BuildRequires: %{python_module cryptography >= 2.0} +BuildRequires: %{python_module pip} BuildRequires: %{python_module pyspnego} BuildRequires: %{python_module pytest-mock} BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-cryptography >= 2.0 @@ -59,10 +61,10 @@ Features %setup -q -n smbprotocol-%{version} %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %check From bc96bcff72a1ba844fa303ac06bec8d024fd764c534499a3fe0c7d4631ff3a52 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Mon, 5 Dec 2022 17:49:21 +0000 Subject: [PATCH 4/4] We don't need to ask for setuptools BR OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-smbprotocol?expand=0&rev=36 --- python-smbprotocol.spec | 1 - 1 file changed, 1 deletion(-) diff --git a/python-smbprotocol.spec b/python-smbprotocol.spec index 52f11ca..5286df0 100644 --- a/python-smbprotocol.spec +++ b/python-smbprotocol.spec @@ -30,7 +30,6 @@ BuildRequires: %{python_module pip} BuildRequires: %{python_module pyspnego} BuildRequires: %{python_module pytest-mock} BuildRequires: %{python_module pytest} -BuildRequires: %{python_module setuptools} BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros