Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-py-vapid for openSUSE:Factory
checked in at 2025-06-03 17:56:57
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-py-vapid (Old)
and /work/SRC/openSUSE:Factory/.python-py-vapid.new.16005 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-py-vapid"
Tue Jun 3 17:56:57 2025 rev:5 rq:1282321 version:1.9.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-py-vapid/python-py-vapid.changes
2022-12-15 19:25:02.864002551 +0100
+++
/work/SRC/openSUSE:Factory/.python-py-vapid.new.16005/python-py-vapid.changes
2025-06-03 17:57:45.168088166 +0200
@@ -1,0 +2,5 @@
+Tue Jun 3 12:53:20 UTC 2025 - Markéta Machová <[email protected]>
+
+- Convert to pip-based build
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-py-vapid.spec ++++++
--- /var/tmp/diff_new_pack.BjzsNI/_old 2025-06-03 17:57:45.568104752 +0200
+++ /var/tmp/diff_new_pack.BjzsNI/_new 2025-06-03 17:57:45.568104752 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-py-vapid
#
-# Copyright (c) 2022 SUSE LLC
+# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -16,7 +16,6 @@
#
-%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-py-vapid
Version: 1.9.0
Release: 0
@@ -24,12 +23,14 @@
License: MPL-2.0
URL: https://github.com/mozilla-services/vapid
Source:
https://files.pythonhosted.org/packages/source/p/py-vapid/py-vapid-%{version}.tar.gz
+BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
+BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-cryptography >= 2.5
-Requires(post): update-alternatives
-Requires(postun):update-alternatives
+Requires(post): alts
+Requires(postun): alts
BuildArch: noarch
# SECTION test requirements
BuildRequires: %{python_module cryptography >= 2.5}
@@ -45,10 +46,10 @@
sed -i 's/from mock import/from unittest.mock import/'
py_vapid/tests/test_vapid.py
%build
-%python_build
+%pyproject_wheel
%install
-%python_install
+%pyproject_install
%python_clone -a %{buildroot}%{_bindir}/vapid
%python_expand %fdupes %{buildroot}%{$python_sitelib}
@@ -65,5 +66,6 @@
%doc README.md README.rst
%license LICENSE
%python_alternative %{_bindir}/vapid
-%{python_sitelib}/*
+%{python_sitelib}/py[-_]vapid
+%{python_sitelib}/py[-_]vapid-%{version}*-info