Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-Flask-Paranoid for
openSUSE:Factory checked in at 2024-02-22 20:58:33
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-Flask-Paranoid (Old)
and /work/SRC/openSUSE:Factory/.python-Flask-Paranoid.new.1706 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-Flask-Paranoid"
Thu Feb 22 20:58:33 2024 rev:7 rq:1148952 version:0.3.0
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-Flask-Paranoid/python-Flask-Paranoid.changes
2023-12-06 23:47:20.169292745 +0100
+++
/work/SRC/openSUSE:Factory/.python-Flask-Paranoid.new.1706/python-Flask-Paranoid.changes
2024-02-22 20:59:21.541012814 +0100
@@ -1,0 +2,6 @@
+Thu Feb 22 03:42:08 UTC 2024 - Steve Kowalik <[email protected]>
+
+- Switch to autosetup and pyproject macros.
+- No more greedy globs in %files.
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-Flask-Paranoid.spec ++++++
--- /var/tmp/diff_new_pack.BI31PU/_old 2024-02-22 20:59:22.009029924 +0100
+++ /var/tmp/diff_new_pack.BI31PU/_new 2024-02-22 20:59:22.009029924 +0100
@@ -1,7 +1,7 @@
#
# spec file for package python-Flask-Paranoid
#
-# Copyright (c) 2023 SUSE LLC
+# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -23,7 +23,6 @@
License: MIT
Summary: Flask user session protection
URL: http://github.com/miguelgrinberg/flask-paranoid/
-Group: Development/Languages/Python
# Pypi sources don't include tests
#Source:
https://files.pythonhosted.org/packages/source/F/Flask-Paranoid/Flask-Paranoid-%%{version}.tar.gz
Source:
https://github.com/miguelgrinberg/flask-paranoid/archive/refs/tags/v%{version}.tar.gz
@@ -33,6 +32,7 @@
BuildRequires: %{python_module importlib-metadata}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
+BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
# Test requirements
@@ -52,15 +52,14 @@
agent when a client connects to the flask application.
%prep
-%setup -q -n flask-paranoid-%{version}
-%patch0 -p1
+%autosetup -p1 -n flask-paranoid-%{version}
cp %{SOURCE99} .
%build
-%python_build
+%pyproject_wheel
%install
-%python_install
+%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
@@ -72,5 +71,6 @@
%files %{python_files}
%license LICENSE
-%{python_sitelib}/*
+%{python_sitelib}/flask_paranoid
+%{python_sitelib}/Flask_Paranoid-%{version}.dist-info