|
|
|
@@ -1,7 +1,7 @@
|
|
|
|
#
|
|
|
|
#
|
|
|
|
# spec file for package python-fields
|
|
|
|
# spec file for package python-fields
|
|
|
|
#
|
|
|
|
#
|
|
|
|
# Copyright (c) 2025 SUSE LLC and contributors
|
|
|
|
# Copyright (c) 2025 SUSE LLC
|
|
|
|
#
|
|
|
|
#
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
@@ -22,6 +22,7 @@ Version: 5.0.0
|
|
|
|
Release: 0
|
|
|
|
Release: 0
|
|
|
|
Summary: Container class boilerplate killer
|
|
|
|
Summary: Container class boilerplate killer
|
|
|
|
License: BSD-2-Clause
|
|
|
|
License: BSD-2-Clause
|
|
|
|
|
|
|
|
Group: Development/Languages/Python
|
|
|
|
URL: https://github.com/ionelmc/python-fields
|
|
|
|
URL: https://github.com/ionelmc/python-fields
|
|
|
|
Source: https://files.pythonhosted.org/packages/source/f/fields/fields-%{version}.tar.gz
|
|
|
|
Source: https://files.pythonhosted.org/packages/source/f/fields/fields-%{version}.tar.gz
|
|
|
|
BuildRequires: %{python_module pip}
|
|
|
|
BuildRequires: %{python_module pip}
|
|
|
|
@@ -51,8 +52,6 @@ sed -i -e '/--benchmark-disable/d' setup.cfg
|
|
|
|
sed -i -e '/doctest/d' setup.cfg
|
|
|
|
sed -i -e '/doctest/d' setup.cfg
|
|
|
|
sed -i -e 's/\[pytest\]/\[tools:pytest\]/g' setup.cfg
|
|
|
|
sed -i -e 's/\[pytest\]/\[tools:pytest\]/g' setup.cfg
|
|
|
|
rm tests/test_perf.py
|
|
|
|
rm tests/test_perf.py
|
|
|
|
# only required for python 2 support, breaks with pytest 9
|
|
|
|
|
|
|
|
rm conftest.py
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
|
%pyproject_wheel
|
|
|
|
%pyproject_wheel
|
|
|
|
@@ -68,6 +67,6 @@ rm conftest.py
|
|
|
|
%license LICENSE
|
|
|
|
%license LICENSE
|
|
|
|
%doc AUTHORS.rst CHANGELOG.rst README.rst
|
|
|
|
%doc AUTHORS.rst CHANGELOG.rst README.rst
|
|
|
|
%{python_sitelib}/fields
|
|
|
|
%{python_sitelib}/fields
|
|
|
|
%{python_sitelib}/fields-%{version}.dist-info
|
|
|
|
%{python_sitelib}/fields-%{version}*-info
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|