diff --git a/1.3.0.tar.gz b/1.3.0.tar.gz new file mode 100644 index 0000000..58fc596 --- /dev/null +++ b/1.3.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4716729f0d07f3f6043dde43545a5381c4c6031a62e9dc9eed21e73c63d86722 +size 6186 diff --git a/httmock-1.2.6.tar.gz b/httmock-1.2.6.tar.gz deleted file mode 100644 index 7abe81d..0000000 --- a/httmock-1.2.6.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:4696306d1ff835c3ca865fdef2684d7e130b4120cc00126f862ba4797b1602ac -size 4399 diff --git a/python-httmock.changes b/python-httmock.changes index abe15d7..204b18e 100644 --- a/python-httmock.changes +++ b/python-httmock.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Mon Mar 4 13:29:03 UTC 2019 - Tomáš Chvátal + +- Update to 1.3.0: + * Minor fixes collection +- Switch to github for tests +- Run tests + ------------------------------------------------------------------- Tue Dec 4 12:48:58 UTC 2018 - Matej Cepl diff --git a/python-httmock.spec b/python-httmock.spec index e6d0dc0..c01dff3 100644 --- a/python-httmock.spec +++ b/python-httmock.spec @@ -1,7 +1,7 @@ # # spec file for package python-httmock # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,13 +18,13 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-httmock -Version: 1.2.6 +Version: 1.3.0 Release: 0 Summary: A mocking library for requests License: Apache-2.0 Group: Development/Languages/Python Url: https://github.com/patrys/httmock -Source: https://files.pythonhosted.org/packages/source/h/httmock/httmock-%{version}.tar.gz +Source: https://github.com/patrys/httmock/archive/%{version}.tar.gz BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros @@ -53,6 +53,9 @@ You can use it to mock third-party APIs and test libraries that use %python_install %python_expand %fdupes %{buildroot}%{$python_sitelib} +%check +%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} $python -m unittest discover + %files %{python_files} %doc README.md %license LICENSE