Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-unicodecsv for openSUSE:Factory checked in at 2025-05-09 18:50:55 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-unicodecsv (Old) and /work/SRC/openSUSE:Factory/.python-unicodecsv.new.30101 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-unicodecsv" Fri May 9 18:50:55 2025 rev:4 rq:1276031 version:0.14.1 Changes: -------- --- /work/SRC/openSUSE:Factory/python-unicodecsv/python-unicodecsv.changes 2017-04-20 20:53:13.320688244 +0200 +++ /work/SRC/openSUSE:Factory/.python-unicodecsv.new.30101/python-unicodecsv.changes 2025-05-09 18:53:16.525863993 +0200 @@ -1,0 +2,7 @@ +Fri May 9 05:20:27 UTC 2025 - Steve Kowalik <steven.kowa...@suse.com> + +- Ship the license file. +- Switch to pyproject macros. +- No more greedy globs in %files. + +------------------------------------------------------------------- New: ---- LICENSE ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-unicodecsv.spec ++++++ --- /var/tmp/diff_new_pack.xkTdya/_old 2025-05-09 18:53:16.937881132 +0200 +++ /var/tmp/diff_new_pack.xkTdya/_new 2025-05-09 18:53:16.937881132 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-unicodecsv # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# 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 @@ -12,29 +12,26 @@ # 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-%{**}} Name: python-unicodecsv Version: 0.14.1 Release: 0 Summary: Drop-in replacment for python's csv module with unicode support License: BSD-2-Clause -Group: Development/Languages/Python -Url: https://github.com/jdunck/python-unicodecsv -Source: https://pypi.io/packages/source/u/unicodecsv/unicodecsv-%{version}.tar.gz +URL: https://github.com/jdunck/python-unicodecsv +Source0: https://pypi.io/packages/source/u/unicodecsv/unicodecsv-%{version}.tar.gz +# sdist does not ship a LICENSE +Source1: https://raw.githubusercontent.com/jdunck/python-unicodecsv/refs/heads/master/LICENSE BuildRequires: %{python_module devel} +BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} BuildRequires: python-rpm-macros BuildRoot: %{_tmppath}/%{name}-%{version}-build -%if 0%{?suse_version} && 0%{?suse_version} <= 1110 -%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} -%else BuildArch: noarch -%endif - %python_subpackages %description @@ -47,15 +44,17 @@ %prep %setup -q -n unicodecsv-%{version} +cp %{SOURCE1} . %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %files %{python_files} -%defattr(-,root,root,-) +%license LICENSE %doc README.rst -%{python_sitelib}/* +%{python_sitelib}/unicodecsv +%{python_sitelib}/unicodecsv-%{version}.dist-info ++++++ LICENSE ++++++ Copyright 2010 Jeremy Dunck. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. THIS SOFTWARE IS PROVIDED BY JEREMY DUNCK ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL JEREMY DUNCK OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. The views and conclusions contained in the software and documentation are those of the authors and should not be interpreted as representing official policies, either expressed or implied, of Jeremy Dunck. (No newline at EOF)