Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-hstspreload for 
openSUSE:Factory checked in at 2025-07-10 22:12:05
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-hstspreload (Old)
 and      /work/SRC/openSUSE:Factory/.python-hstspreload.new.7373 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-hstspreload"

Thu Jul 10 22:12:05 2025 rev:16 rq:1291574 version:2024.11.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-hstspreload/python-hstspreload.changes    
2024-11-14 16:10:09.758469872 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-hstspreload.new.7373/python-hstspreload.changes
  2025-07-10 22:12:09.055721290 +0200
@@ -1,0 +2,6 @@
+Thu Jul 10 03:00:26 UTC 2025 - Steve Kowalik <steven.kowa...@suse.com>
+
+- Switch to pyproject macros.
+- No more greedy globs in %files.
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-hstspreload.spec ++++++
--- /var/tmp/diff_new_pack.MHk7tj/_old  2025-07-10 22:12:09.643745747 +0200
+++ /var/tmp/diff_new_pack.MHk7tj/_new  2025-07-10 22:12:09.647745913 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-hstspreload
 #
-# 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,18 +16,18 @@
 #
 
 
-%{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:           python-hstspreload
 Version:        2024.11.1
 Release:        0
 Summary:        Python Chromium HSTS Preload list
 License:        BSD-3-Clause
-Group:          Development/Languages/Python
 URL:            https://github.com/sethmlarson/hstspreload
 Source:         
https://files.pythonhosted.org/packages/source/h/hstspreload/hstspreload-%{version}.tar.gz
 Source1:        
https://raw.githubusercontent.com/python-http/hstspreload/master/test_hstspreload.py
+BuildRequires:  %{python_module pip}
 BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module setuptools}
+BuildRequires:  %{python_module wheel}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
 BuildArch:      noarch
@@ -41,10 +41,10 @@
 cp %{SOURCE1} .
 
 %build
-%python_build
+%pyproject_wheel
 
 %install
-%python_install
+%pyproject_install
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 #%%check depends on httpx, which depends on hstspreload
@@ -54,5 +54,6 @@
 %files %{python_files}
 %doc README.md
 %license LICENSE
-%{python_sitelib}/*
+%{python_sitelib}/hstspreload
+%{python_sitelib}/hstspreload-%{version}.dist-info
 

Reply via email to