diff --git a/python-PyWebDAV3.changes b/python-PyWebDAV3.changes index b07e232..44ac46c 100644 --- a/python-PyWebDAV3.changes +++ b/python-PyWebDAV3.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Sep 22 14:07:07 UTC 2017 - toddrme2178@gmail.com + +- Only use litmus-0.13.tar.gz test file in %check section due to + license issues + ------------------------------------------------------------------- Thu Sep 21 18:26:06 UTC 2017 - toddrme2178@gmail.com diff --git a/python-PyWebDAV3.spec b/python-PyWebDAV3.spec index eddd91e..b120f18 100644 --- a/python-PyWebDAV3.spec +++ b/python-PyWebDAV3.spec @@ -28,6 +28,7 @@ License: LGPL-2.0 Group: Development/Languages/Python Url: https://github.com/andrewleech/PyWebDAV3 Source0: https://files.pythonhosted.org/packages/source/P/PyWebDAV3/PyWebDAV3-%{version}.tar.gz +# Only used in %check for testing purposes 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 @@ -75,7 +76,6 @@ This package does not provide client functionality. %prep %setup -q -n PyWebDAV3-%{version} %patch1 -p1 -cp %{SOURCE1} test/ %build %python_build @@ -95,7 +95,9 @@ $python -O -m compileall -d %{$python_sitelib} %{buildroot}%{$python_sitelib}/py %if %{with test} %check +cp %{SOURCE1} test/ %python_expand py.test-%{$python_bin_suffix} +rm test/litmus-%{ltmsver}.tar.gz %endif %post