Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-zc.customdoctests for openSUSE:Factory checked in at 2025-02-25 16:58:09 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-zc.customdoctests (Old) and /work/SRC/openSUSE:Factory/.python-zc.customdoctests.new.1873 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-zc.customdoctests" Tue Feb 25 16:58:09 2025 rev:3 rq:1248197 version:1.0.1 Changes: -------- --- /work/SRC/openSUSE:Factory/python-zc.customdoctests/python-zc.customdoctests.changes 2021-09-23 23:04:17.060333343 +0200 +++ /work/SRC/openSUSE:Factory/.python-zc.customdoctests.new.1873/python-zc.customdoctests.changes 2025-02-25 16:58:11.997559276 +0100 @@ -1,0 +2,5 @@ +Mon Feb 24 10:47:27 UTC 2025 - Markéta Machová <mmach...@suse.com> + +- Fix packaging + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-zc.customdoctests.spec ++++++ --- /var/tmp/diff_new_pack.sjD2wI/_old 2025-02-25 16:58:13.857637214 +0100 +++ /var/tmp/diff_new_pack.sjD2wI/_new 2025-02-25 16:58:13.869637717 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-zc.customdoctests # -# Copyright (c) 2021 SUSE LLC +# 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 @@ -16,25 +16,23 @@ # -%{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-zc.customdoctests Version: 1.0.1 Release: 0 +Summary: Use doctest with other languages License: ZPL-2.1 -Summary: zc.customdoctests -- Use doctest with other languages -URL: http://pypi.python.org/pypi/zc.customdoctests Group: Development/Languages/Python +URL: https://pypi.python.org/pypi/zc.customdoctests Source: https://files.pythonhosted.org/packages/source/z/zc.customdoctests/zc.customdoctests-%{version}.zip Source1: LICENSE.txt -BuildRequires: %{python_module devel} BuildRequires: %{python_module manuel} +BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module zope.testing} BuildRequires: fdupes BuildRequires: python-rpm-macros BuildRequires: unzip BuildArch: noarch - %python_subpackages %description @@ -54,23 +52,26 @@ %prep %setup -q -n zc.customdoctests-%{version} +cp %{SOURCE1} . %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} +%python_expand rm -r %{buildroot}%{$python_sitelib}/zc.customdoctests-%{version}-py3.12-nspkg.pth %check -cd build/lib -%{python_expand export PYTHONPATH='.' +%{python_expand export PYTHONPATH='.:%{buildroot}%{$python_sitelib}' $python -m unittest -v zc.customdoctests.tests.test_suite -$python -m doctest -v zc/customdoctests/tests.py +$python -m doctest -v src/zc/customdoctests/tests.py } %files %{python_files} -%license ../../SOURCES/LICENSE.txt +%license LICENSE.txt %doc README.txt -%{python_sitelib}/* +%dir %{python_sitelib}/zc +%{python_sitelib}/zc/customdoctests +%{python_sitelib}/zc.customdoctests-%{version}*info