forked from pool/python-jsondiff
Compare commits
4 Commits
Author | SHA256 | Date | |
---|---|---|---|
88e32be91b | |||
1819c16469 | |||
148b90ae0e | |||
92221e3d5b |
@@ -1,13 +1,3 @@
|
|||||||
-------------------------------------------------------------------
|
|
||||||
Thu Aug 21 09:14:03 UTC 2025 - Markéta Machová <mmachova@suse.com>
|
|
||||||
|
|
||||||
- Convert to libalternatives on SLE-16-based and newer systems only
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Thu Jul 10 14:29:55 UTC 2025 - Markéta Machová <mmachova@suse.com>
|
|
||||||
|
|
||||||
- Convert to libalternatives
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Oct 10 14:30:38 UTC 2024 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
Thu Oct 10 14:30:38 UTC 2024 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-jsondiff
|
# spec file for package python-jsondiff
|
||||||
#
|
#
|
||||||
# Copyright (c) 2025 SUSE LLC
|
# Copyright (c) 2024 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -16,11 +16,6 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%if 0%{?suse_version} > 1500
|
|
||||||
%bcond_without libalternatives
|
|
||||||
%else
|
|
||||||
%bcond_with libalternatives
|
|
||||||
%endif
|
|
||||||
%{?sle15_python_module_pythons}
|
%{?sle15_python_module_pythons}
|
||||||
Name: python-jsondiff
|
Name: python-jsondiff
|
||||||
Version: 2.2.1
|
Version: 2.2.1
|
||||||
@@ -39,14 +34,9 @@ BuildRequires: %{python_module wheel}
|
|||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
Requires: python-PyYAML
|
Requires: python-PyYAML
|
||||||
BuildArch: noarch
|
|
||||||
%if %{with libalternatives}
|
|
||||||
BuildRequires: alts
|
|
||||||
Requires: alts
|
|
||||||
%else
|
|
||||||
Requires(post): update-alternatives
|
Requires(post): update-alternatives
|
||||||
Requires(postun): update-alternatives
|
Requires(postun): update-alternatives
|
||||||
%endif
|
BuildArch: noarch
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@@ -72,9 +62,6 @@ Package to show differences between JSON and JSON-like structures in Python
|
|||||||
%postun
|
%postun
|
||||||
%python_uninstall_alternative jdiff
|
%python_uninstall_alternative jdiff
|
||||||
|
|
||||||
%pre
|
|
||||||
%python_libalternatives_reset_alternative jdiff
|
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%doc README.md
|
%doc README.md
|
||||||
|
Reference in New Issue
Block a user