Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-cookies for openSUSE:Factory 
checked in at 2023-06-08 21:41:57
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-cookies (Old)
 and      /work/SRC/openSUSE:Factory/.python-cookies.new.15902 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-cookies"

Thu Jun  8 21:41:57 2023 rev:6 rq:1091271 version:2.2.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-cookies/python-cookies.changes    
2023-04-22 22:02:37.857995057 +0200
+++ /work/SRC/openSUSE:Factory/.python-cookies.new.15902/python-cookies.changes 
2023-06-08 21:41:58.493783395 +0200
@@ -1,0 +2,5 @@
+Wed May 31 12:38:53 UTC 2023 - Matej Cepl <[email protected]>
+
+- Clean up SPEC file
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-cookies.spec ++++++
--- /var/tmp/diff_new_pack.hCUhcr/_old  2023-06-08 21:41:59.273787992 +0200
+++ /var/tmp/diff_new_pack.hCUhcr/_new  2023-06-08 21:41:59.281788039 +0200
@@ -16,7 +16,6 @@
 #
 
 
-%{?!python_module:%define python_module() python-%{**} python3-%{**}}
 %{?sle15_python_module_pythons}
 Name:           python-cookies
 Version:        2.2.1
@@ -24,14 +23,15 @@
 Summary:        Friendlier RFC 6265-compliant cookie parser/renderer
 License:        MIT
 Group:          Development/Languages/Python
-URL:            https://gitlab.com/sashahart/cookies
+URL:            https://github.com/sashahart/cookies
 Source:         
https://files.pythonhosted.org/packages/source/c/cookies/cookies-%{version}.tar.gz
 Source1:        
https://raw.githubusercontent.com/sashahart/cookies/master/LICENSE
 # PATCH-FIX-OPENSUSE do-not-install-test_cookies.diff -- Do not install test 
files
 Patch0:         do-not-install-test_cookies.diff
 Patch1:         python37.patch
+BuildRequires:  %{python_module pip}
 BuildRequires:  %{python_module pytest}
-BuildRequires:  %{python_module setuptools}
+BuildRequires:  %{python_module wheel}
 BuildRequires:  python-rpm-macros
 BuildArch:      noarch
 %python_subpackages
@@ -68,23 +68,24 @@
 standard library.
 
 %prep
-%setup -q -n cookies-%{version}
-%autopatch -p1
+%autosetup -p1 -n cookies-%{version}
 
 cp %{SOURCE1} .
 
 %build
-%python_build
+%pyproject_wheel
 
 %install
-%python_install
+%pyproject_install
 
 %check
-%python_expand py.test-%{$python_version} test_cookies.py
+%pytest test_cookies.py
 
 %files %{python_files}
 %license LICENSE
 %doc README
-%{python_sitelib}/*
+%{python_sitelib}/cookies.py
+%pycache_only %{python_sitelib}/__pycache__/cookies*.pyc
+%{python_sitelib}/cookies-%{version}*-info
 
 %changelog

Reply via email to