Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-python-json-logger for 
openSUSE:Factory checked in at 2023-07-25 11:49:12
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-python-json-logger (Old)
 and      /work/SRC/openSUSE:Factory/.python-python-json-logger.new.1467 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-python-json-logger"

Tue Jul 25 11:49:12 2023 rev:9 rq:1099747 version:2.0.7

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/python-python-json-logger/python-python-json-logger.changes
      2023-05-03 12:57:57.956075272 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-python-json-logger.new.1467/python-python-json-logger.changes
    2023-07-25 11:49:13.816794492 +0200
@@ -1,0 +2,11 @@
+Thu Jul 20 13:09:51 UTC 2023 - Matej Cepl <mc...@suse.com>
+
+- Clean up the SPEC file.
+- Switch to %pyproject_* macros.
+
+-------------------------------------------------------------------
+Wed Jul 19 13:18:33 UTC 2023 - ecsos <ec...@opensuse.org>
+
+- Add %{?sle15_python_module_pythons}
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-python-json-logger.spec ++++++
--- /var/tmp/diff_new_pack.YNRcrR/_old  2023-07-25 11:49:14.836800464 +0200
+++ /var/tmp/diff_new_pack.YNRcrR/_new  2023-07-25 11:49:14.840800487 +0200
@@ -16,8 +16,7 @@
 #
 
 
-%{?!python_module:%define python_module() python-%{**} python3-%{**}}
-%define skip_python2 1
+%{?sle15_python_module_pythons}
 Name:           python-python-json-logger
 Version:        2.0.7
 Release:        0
@@ -26,9 +25,10 @@
 Group:          Development/Languages/Python
 URL:            https://github.com/madzak/python-json-logger
 Source:         
https://files.pythonhosted.org/packages/source/p/python-json-logger/python-json-logger-%{version}.tar.gz
-BuildRequires:  %{python_module setuptools}
+BuildRequires:  %{python_module pip}
+BuildRequires:  %{python_module wheel}
+BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
-Requires:       python-setuptools
 BuildArch:      noarch
 %python_subpackages
 
@@ -36,13 +36,14 @@
 A python library adding a json log formatter.
 
 %prep
-%setup -q -n python-json-logger-%{version}
+%autosetup -p1 -n python-json-logger-%{version}
 
 %build
-%python_build
+%pyproject_wheel
 
 %install
-%python_install
+%pyproject_install
+%python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %check
 %pyunittest discover -v
@@ -50,6 +51,7 @@
 %files %{python_files}
 %doc README.md
 %license LICENSE
-%{python_sitelib}/*
+%{python_sitelib}/python_json_logger-%{version}*-info
+%{python_sitelib}/pythonjsonlogger
 
 %changelog

Reply via email to