From a368f45e376746df6d5d4318bdc4e71489689afa9c94e4d6ff1d9ccdacc45cb2 Mon Sep 17 00:00:00 2001 From: Todd R Date: Thu, 21 Sep 2017 18:27:58 +0000 Subject: [PATCH] Accepting request 528130 from home:TheBlackCat:branches:devel:languages:python - Get unit tests working. OBS-URL: https://build.opensuse.org/request/show/528130 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PyWebDAV3?expand=0&rev=3 --- litmus-0.13.tar.gz | 3 +++ python-PyWebDAV3.changes | 5 +++++ python-PyWebDAV3.spec | 8 +++++--- 3 files changed, 13 insertions(+), 3 deletions(-) create mode 100644 litmus-0.13.tar.gz diff --git a/litmus-0.13.tar.gz b/litmus-0.13.tar.gz new file mode 100644 index 0000000..f7d204d --- /dev/null +++ b/litmus-0.13.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:09d615958121706444db67e09c40df5f753ccf1fa14846fdeb439298aa9ac3ff +size 467532 diff --git a/python-PyWebDAV3.changes b/python-PyWebDAV3.changes index 88fcad5..b07e232 100644 --- a/python-PyWebDAV3.changes +++ b/python-PyWebDAV3.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Sep 21 18:26:06 UTC 2017 - toddrme2178@gmail.com + +- Get unit tests working. + ------------------------------------------------------------------- Mon Sep 18 17:01:39 UTC 2017 - toddrme2178@gmail.com diff --git a/python-PyWebDAV3.spec b/python-PyWebDAV3.spec index 4d79c6a..eddd91e 100644 --- a/python-PyWebDAV3.spec +++ b/python-PyWebDAV3.spec @@ -18,16 +18,17 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %define oldpython python -# Test files missing -%bcond_with test +%bcond_without test Name: python-PyWebDAV3 Version: 0.9.11 +%define ltmsver 0.13 Release: 0 Summary: WebDAV library including a standalone server for python2 and python3 License: LGPL-2.0 Group: Development/Languages/Python Url: https://github.com/andrewleech/PyWebDAV3 -Source: https://files.pythonhosted.org/packages/source/P/PyWebDAV3/PyWebDAV3-%{version}.tar.gz +Source0: https://files.pythonhosted.org/packages/source/P/PyWebDAV3/PyWebDAV3-%{version}.tar.gz +Source1: http://www.webdav.org/neon/litmus/litmus-%{ltmsver}.tar.gz # PATCH-FIX-UPSTREAM fix_python2_urllib.patch https://github.com/andrewleech/PyWebDAV3/commit/62e67e5523b6f8a3d47e1406d045c9e2abb9e8ba and https://github.com/andrewleech/PyWebDAV3/commit/eb4017d8894242ab4453cc1c2d432ebd299c13a0 Patch1: fix_python2_urllib.patch BuildRequires: %{python_module devel} @@ -74,6 +75,7 @@ This package does not provide client functionality. %prep %setup -q -n PyWebDAV3-%{version} %patch1 -p1 +cp %{SOURCE1} test/ %build %python_build