commit python-jsondiff for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-jsondiff for openSUSE:Factory checked in at 2024-03-26 19:28:09 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-jsondiff (Old) and /work/SRC/openSUSE:Factory/.python-jsondiff.new.1905 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "python-jsondiff" Tue Mar 26 19:28:09 2024 rev:10 rq:1161732 version:2.0.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-jsondiff/python-jsondiff.changes 2023-06-14 16:31:51.859399423 +0200 +++ /work/SRC/openSUSE:Factory/.python-jsondiff.new.1905/python-jsondiff.changes 2024-03-26 19:32:34.940661841 +0100 @@ -1,0 +2,9 @@ +Tue Mar 26 12:08:46 UTC 2024 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com> + +- Switch build system from setuptools to pyproject.toml + + Add python-pip and python-wheel to BuildRequires + + Replace %python_build with %pyproject_wheel + + Replace %python_install with %pyproject_install +- Limit Python files matched in %files section + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-jsondiff.spec ++++++ --- /var/tmp/diff_new_pack.57MjGm/_old 2024-03-26 19:32:35.408678944 +0100 +++ /var/tmp/diff_new_pack.57MjGm/_new 2024-03-26 19:32:35.408678944 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-jsondiff # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -27,13 +27,15 @@ # PATCH-FEATURE-UPSTREAM remove_nose.patch bsc#[0-9]+ mcepl@suse.com # Replace nose-random plugin with ripped of version independent of nose. Patch0: remove_nose.patch +BuildRequires: %{python_module pip} BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-setuptools Requires(post): update-alternatives -Requires(postun):update-alternatives +Requires(postun): update-alternatives BuildArch: noarch %python_subpackages @@ -44,10 +46,10 @@ %autosetup -p1 -n jsondiff-%{version} %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_clone -a %{buildroot}%{_bindir}/jdiff %python_expand %fdupes %{buildroot}%{$python_sitelib} @@ -63,6 +65,7 @@ %files %{python_files} %license LICENSE %doc README.rst -%{python_sitelib}/* +%{python_sitelib}/jsondiff +%{python_sitelib}/jsondiff-*.dist-info %python_alternative %{_bindir}/jdiff
participants (1)
-
Source-Sync