Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-py-ubjson for
openSUSE:Factory checked in at 2025-06-11 16:26:21
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-py-ubjson (Old)
and /work/SRC/openSUSE:Factory/.python-py-ubjson.new.19631 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-py-ubjson"
Wed Jun 11 16:26:21 2025 rev:7 rq:1284663 version:0.16.1
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-py-ubjson/python-py-ubjson.changes
2021-04-23 17:50:54.646823588 +0200
+++
/work/SRC/openSUSE:Factory/.python-py-ubjson.new.19631/python-py-ubjson.changes
2025-06-11 16:28:08.080499818 +0200
@@ -1,0 +2,6 @@
+Wed Jun 11 05:57:23 UTC 2025 - Steve Kowalik <[email protected]>
+
+- Switch to pyproject macros.
+- No more greedy globs in %files.
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-py-ubjson.spec ++++++
--- /var/tmp/diff_new_pack.orSjDx/_old 2025-06-11 16:28:08.720526516 +0200
+++ /var/tmp/diff_new_pack.orSjDx/_new 2025-06-11 16:28:08.724526683 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-py-ubjson
#
-# Copyright (c) 2021 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,19 +16,19 @@
#
-%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define modname py-ubjson
Name: python-py-ubjson
Version: 0.16.1
Release: 0
Summary: Universal Binary JSON encoder/decoder
License: Apache-2.0
-Group: Development/Languages/Python
URL: https://github.com/Iotic-Labs/py-ubjson
Source:
https://files.pythonhosted.org/packages/source/p/py-ubjson/%{modname}-%{version}.tar.gz
BuildRequires: %{python_module devel}
+BuildRequires: %{python_module pip}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
+BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
%python_subpackages
@@ -41,16 +41,18 @@
%setup -q -n %{modname}-%{version}
%build
-%python_build
+%pyproject_wheel
%check
touch test/__init__.py
%pytest test/test.py
%install
-%python_install
+%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitearch}
%files %{python_files}
-%{python_sitearch}/*
+%{python_sitearch}/ubjson
+%{python_sitearch}/_ubjson.cpython-*-linux-gnu.so
+%{python_sitearch}/py_ubjson-%{version}.dist-info