Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-pysendfile for 
openSUSE:Factory checked in at 2023-04-22 21:57:46
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pysendfile (Old)
 and      /work/SRC/openSUSE:Factory/.python-pysendfile.new.1533 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-pysendfile"

Sat Apr 22 21:57:46 2023 rev:10 rq:1081604 version:2.0.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-pysendfile/python-pysendfile.changes      
2017-08-24 18:52:13.338912467 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-pysendfile.new.1533/python-pysendfile.changes
    2023-04-22 21:58:30.496516174 +0200
@@ -1,0 +2,15 @@
+Fri Apr 21 12:31:18 UTC 2023 - Dirk Müller <[email protected]>
+
+- add sle15_python_module_pythons (jsc#PED-68)
+
+-------------------------------------------------------------------
+Thu Apr 13 23:38:24 UTC 2023 - Matej Cepl <[email protected]>
+
+- Refresh SPEC file.
+
+-------------------------------------------------------------------
+Thu Apr 13 22:43:55 UTC 2023 - Matej Cepl <[email protected]>
+
+- Make calling of %{sle15modernpython} optional.
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-pysendfile.spec ++++++
--- /var/tmp/diff_new_pack.74Yieh/_old  2023-04-22 21:58:31.380521459 +0200
+++ /var/tmp/diff_new_pack.74Yieh/_new  2023-04-22 21:58:31.384521483 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-pysendfile
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2023 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -12,25 +12,24 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
-%{?!python_module:%define python_module() python-%{**} python3-%{**}}
+%{?sle15_python_module_pythons}
 %define mod_name pysendfile
-
 Name:           python-pysendfile
 Version:        2.0.1
 Release:        0
 Summary:        A Python interface to sendfile(2)
 License:        MIT
 Group:          Development/Languages/Python
-Url:            http://code.google.com/p/pysendfile/
+URL:            https://github.com/giampaolo/pysendfile
 Source:         
https://files.pythonhosted.org/packages/source/p/pysendfile/pysendfile-%{version}.tar.gz
 BuildRequires:  %{python_module devel}
+BuildRequires:  %{python_module pip}
+BuildRequires:  %{python_module wheel}
 BuildRequires:  python-rpm-macros
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
-
 %python_subpackages
 
 %description
@@ -41,14 +40,15 @@
 
 %build
 export CFLAGS="%{optflags}"
-%python_build
+%pyproject_wheel
 
 %install
-%python_install
+%pyproject_install
 
 %files %{python_files}
-%defattr(-,root,root,-)
-%doc LICENSE README.rst
-%{python_sitearch}/*
+%license LICENSE
+%doc README.rst
+%{python_sitearch}/sendfile.*.so
+%{python_sitearch}/pysendfile-%{version}*-info
 
 %changelog

Reply via email to