Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-cron-descriptor for
openSUSE:Factory checked in at 2025-06-16 11:13:07
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-cron-descriptor (Old)
and /work/SRC/openSUSE:Factory/.python-cron-descriptor.new.19631 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-cron-descriptor"
Mon Jun 16 11:13:07 2025 rev:8 rq:1285960 version:1.4.5
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-cron-descriptor/python-cron-descriptor.changes
2024-10-30 19:26:01.580183126 +0100
+++
/work/SRC/openSUSE:Factory/.python-cron-descriptor.new.19631/python-cron-descriptor.changes
2025-06-16 11:13:17.121293485 +0200
@@ -1,0 +2,5 @@
+Mon Jun 16 06:12:20 UTC 2025 - Steve Kowalik <[email protected]>
+
+- Switch to pyroject macros.
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-cron-descriptor.spec ++++++
--- /var/tmp/diff_new_pack.hjWTac/_old 2025-06-16 11:13:17.821322410 +0200
+++ /var/tmp/diff_new_pack.hjWTac/_new 2025-06-16 11:13:17.825322575 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-cron-descriptor
#
-# 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
@@ -16,7 +16,6 @@
#
-%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-cron-descriptor
Version: 1.4.5
Release: 0
@@ -25,8 +24,10 @@
Group: Development/Languages/Python
URL: https://github.com/Salamek/cron-descriptor
Source:
https://github.com/Salamek/cron-descriptor/archive/%{version}.tar.gz#/cron_descriptor-%{version}.tar.gz
+BuildRequires: %{python_module pip}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
+BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildArch: noarch
@@ -39,10 +40,10 @@
%setup -q -n cron-descriptor-%{version}
%build
-%python_build
+%pyproject_wheel
%install
-%python_install
+%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
@@ -51,9 +52,7 @@
%files %{python_files}
%doc README.md
%license LICENSE
-%dir %{python_sitelib}/cron_descriptor/
-%{python_sitelib}/cron_descriptor/*.py*
-%pycache_only %{python_sitelib}/cron_descriptor/__pycache__
-%{python_sitelib}/cron_descriptor*egg-info/
+%{python_sitelib}/cron_descriptor
+%{python_sitelib}/cron_descriptor-%{version}.dist-info
%lang(all) %{python_sitelib}/cron_descriptor/locale/