- Use correct test call
- Format with spec-cleaner OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-deepdiff?expand=0&rev=2
This commit is contained in:
committed by
Git OBS Bridge
parent
d60008dc0a
commit
e44f6a35ad
@@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Oct 2 12:06:13 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
|
||||
|
||||
- Use correct test call
|
||||
- Format with spec-cleaner
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Sep 30 20:47:00 UTC 2019 - chajain <cjain@suse.com
|
||||
|
||||
|
||||
@@ -12,29 +12,26 @@
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
Name: python-deepdiff
|
||||
Version: 3.3.0
|
||||
Version: 3.3.0
|
||||
Release: 0
|
||||
License: MIT
|
||||
Summary: Deep Difference and Search of any Python object/data
|
||||
Url: https://github.com/seperman/deepdiff
|
||||
Group: Development/Languages/Python
|
||||
License: MIT
|
||||
URL: https://github.com/seperman/deepdiff
|
||||
Source: https://github.com/seperman/deepdiff/archive/deepdiff-%{version}.tar.gz
|
||||
BuildRequires: python-rpm-macros
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module jsonpickle}
|
||||
BuildRequires: %{python_module mock}
|
||||
BuildRequires: %{python_module numpy}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: python-jsonpickle
|
||||
Requires: %{python_module numpydoc}
|
||||
Requires: %{python_module numpy}
|
||||
BuildArch: noarch
|
||||
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
@@ -53,7 +50,7 @@ Hash any object based on their content.
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
%python_expand PYTHONPATH=. python run_tests.py
|
||||
%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} $python -m unittest discover
|
||||
|
||||
%files %{python_files}
|
||||
%license LICENSE
|
||||
|
||||
Reference in New Issue
Block a user