Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-wcag-contrast-ratio for
openSUSE:Factory checked in at 2025-06-13 18:45:02
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-wcag-contrast-ratio (Old)
and /work/SRC/openSUSE:Factory/.python-wcag-contrast-ratio.new.19631 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-wcag-contrast-ratio"
Fri Jun 13 18:45:02 2025 rev:3 rq:1285275 version:0.9
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-wcag-contrast-ratio/python-wcag-contrast-ratio.changes
2023-04-22 21:58:58.640684438 +0200
+++
/work/SRC/openSUSE:Factory/.python-wcag-contrast-ratio.new.19631/python-wcag-contrast-ratio.changes
2025-06-13 18:45:22.038625785 +0200
@@ -1,0 +2,6 @@
+Fri Jun 13 02:42:58 UTC 2025 - Steve Kowalik <[email protected]>
+
+- Switch to pyproject macros.
+- No more greedy globs in %files.
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-wcag-contrast-ratio.spec ++++++
--- /var/tmp/diff_new_pack.ISQouA/_old 2025-06-13 18:45:22.686651414 +0200
+++ /var/tmp/diff_new_pack.ISQouA/_new 2025-06-13 18:45:22.690651572 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-wcag-contrast-ratio
#
-# Copyright (c) 2023 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-%{**}}
%{?sle15_python_module_pythons}
Name: python-wcag-contrast-ratio
Version: 0.9
@@ -26,8 +25,10 @@
URL: https://github.com/gsnedders/wcag-contrast-ratio
Source:
https://files.pythonhosted.org/packages/source/w/wcag-contrast-ratio/wcag-contrast-ratio-%{version}.tar.gz
BuildRequires: %{python_module hypothesis}
+BuildRequires: %{python_module pip}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
+BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildArch: noarch
@@ -40,10 +41,10 @@
%setup -q -n wcag-contrast-ratio-%{version}
%build
-%python_build
+%pyproject_wheel
%install
-%python_install
+%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
@@ -51,5 +52,6 @@
%files %{python_files}
%doc README.rst
-%{python_sitelib}/*
+%{python_sitelib}/wcag_contrast_ratio
+%{python_sitelib}/wcag_contrast_ratio-%{version}.dist-info