Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package QR-Code-generator for
openSUSE:Factory checked in at 2025-07-02 17:30:53
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/QR-Code-generator (Old)
and /work/SRC/openSUSE:Factory/.QR-Code-generator.new.7067 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "QR-Code-generator"
Wed Jul 2 17:30:53 2025 rev:6 rq:1289119 version:1.8.0+git17.856ba8a
Changes:
--------
--- /work/SRC/openSUSE:Factory/QR-Code-generator/QR-Code-generator.changes
2024-10-09 22:13:42.944177027 +0200
+++
/work/SRC/openSUSE:Factory/.QR-Code-generator.new.7067/QR-Code-generator.changes
2025-07-02 17:30:54.359241828 +0200
@@ -1,0 +2,6 @@
+Mon Jun 23 05:29:49 UTC 2025 - Steve Kowalik <[email protected]>
+
+- Use pyproject macros to build and install.
+- List files and directories underneath python_sitelib explicitly.
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ QR-Code-generator.spec ++++++
--- /var/tmp/diff_new_pack.AbuDj7/_old 2025-07-02 17:30:55.423285995 +0200
+++ /var/tmp/diff_new_pack.AbuDj7/_new 2025-07-02 17:30:55.427286162 +0200
@@ -1,7 +1,7 @@
#
# spec file for package QR-Code-generator
#
-# Copyright (c) 2024 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
@@ -19,6 +19,7 @@
%define libcname libqrcodegen1
%define libcppname libqrcodegencpp1
+%global pip_version 1.8.0
%global cmake_code_version 1.8.0.cmake3
%{?sle15_python_module_pythons}
@@ -31,7 +32,9 @@
URL: https://github.com/nayuki/QR-Code-generator
Source0: %{name}-%{version}.tar.zst
Source1: qrcodegen-cmake-%cmake_code_version.tar.zst
+BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
+BuildRequires: %{python_module wheel}
BuildRequires: cmake
BuildRequires: gcc-c++
BuildRequires: pkgconfig
@@ -83,14 +86,14 @@
%cmake
pushd ../python
-%python_build
+%pyproject_wheel
popd
%install
%cmake_install
pushd python
-%python_install
+%pyproject_install
popd
%ldconfig_scriptlets -n %{libcname}
@@ -98,7 +101,9 @@
%files %{python_files}
%license Readme.markdown
-%{python_sitelib}/*
+%{python_sitelib}/qrcodegen.py
+%pycache_only %{python_sitelib}/__pycache__/qrcodegen.*.pyc
+%{python_sitelib}/qrcodegen-%{pip_version}.dist-info
%files -n QR-Code-generator-devel
%license LICENSE Readme.markdown