Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package mercurial-extension-hg-git for
openSUSE:Factory checked in at 2023-02-02 18:08:38
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/mercurial-extension-hg-git (Old)
and /work/SRC/openSUSE:Factory/.mercurial-extension-hg-git.new.32243 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "mercurial-extension-hg-git"
Thu Feb 2 18:08:38 2023 rev:7 rq:1062540 version:1.0.1
Changes:
--------
---
/work/SRC/openSUSE:Factory/mercurial-extension-hg-git/mercurial-extension-hg-git.changes
2022-12-12 18:59:16.444008154 +0100
+++
/work/SRC/openSUSE:Factory/.mercurial-extension-hg-git.new.32243/mercurial-extension-hg-git.changes
2023-02-02 18:28:32.251521479 +0100
@@ -1,0 +2,6 @@
+Wed Feb 1 19:56:50 UTC 2023 - Lukas Müller <[email protected]>
+
+- Use pyproject.toml instead of setup.py for build and install.
+- Add python3-setuptools_scm to determine the correct version of the package.
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ mercurial-extension-hg-git.spec ++++++
--- /var/tmp/diff_new_pack.a5QIPp/_old 2023-02-02 18:28:32.695524198 +0100
+++ /var/tmp/diff_new_pack.a5QIPp/_new 2023-02-02 18:28:32.699524223 +0100
@@ -1,7 +1,7 @@
#
# spec file for package mercurial-extension-hg-git
#
-# Copyright (c) 2022 SUSE LLC
+# Copyright (c) 2023 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -22,6 +22,7 @@
%bcond_with test
%endif
+%define pythons python3
Name: mercurial-extension-hg-git
Version: 1.0.1
Release: 0
@@ -37,7 +38,10 @@
BuildRequires: python-rpm-macros
BuildRequires: python3
BuildRequires: python3-gpg
+BuildRequires: python3-pip
BuildRequires: python3-setuptools
+BuildRequires: python3-setuptools_scm
+BuildRequires: python3-wheel
BuildRequires: unzip
Requires: mercurial
Requires: python3-dulwich >= 0.19.0
@@ -54,10 +58,10 @@
%setup -q -n hg-git-%{version}
%build
-%python3_build
+%pyproject_wheel
%install
-%python3_install
+%pyproject_install
%fdupes %{buildroot}%{python3_sitelib}
%check