- Replace %fdupes -s with plain %fdupes; hardlinks are better.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-jsonschema?expand=0&rev=43
This commit is contained in:
Matej Cepl 2019-10-14 13:50:18 +00:00 committed by Git OBS Bridge
parent d13e73b0c0
commit 77f9de179e
2 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Oct 14 13:49:28 UTC 2019 - Matej Cepl <mcepl@suse.com>
- Replace %fdupes -s with plain %fdupes; hardlinks are better.
-------------------------------------------------------------------
Tue Sep 17 05:31:26 UTC 2019 - John Vandenberg <jayvdb@gmail.com>

View File

@ -25,7 +25,6 @@ Version: 3.0.2
Release: 0
Summary: An implementation of JSON-Schema validation for Python
License: MIT
Group: Development/Languages/Python
URL: https://github.com/Julian/jsonschema
Source: https://files.pythonhosted.org/packages/source/j/jsonschema/jsonschema-%{version}.tar.gz
BuildRequires: %{python_module Twisted}
@ -70,7 +69,7 @@ for Python (supporting 2.6+ including Python 3).
%python_install
# Remove benchmark tests
%{python_expand rm -r %{buildroot}%{$python_sitelib}/jsonschema/benchmarks %{buildroot}%{$python_sitelib}/jsonschema/tests
%fdupes -s %{buildroot}%{$python_sitelib}
%fdupes %{buildroot}%{$python_sitelib}
}
# Prepare for update-alternatives usage