diff --git a/python-rfc3339-validator.changes b/python-rfc3339-validator.changes index fa60b90..74a6650 100644 --- a/python-rfc3339-validator.changes +++ b/python-rfc3339-validator.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Jun 11 13:18:42 UTC 2025 - Markéta Machová + +- Convert to pip-based build + ------------------------------------------------------------------- Mon Jun 5 09:53:54 UTC 2023 - pgajdos@suse.com diff --git a/python-rfc3339-validator.spec b/python-rfc3339-validator.spec index e4c902c..6649d14 100644 --- a/python-rfc3339-validator.spec +++ b/python-rfc3339-validator.spec @@ -1,7 +1,7 @@ # # spec file for package python-rfc3339-validator # -# Copyright (c) 2023 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 @@ -26,7 +26,9 @@ URL: https://github.com/naimetti/rfc3339-validator Source: https://files.pythonhosted.org/packages/source/r/rfc3339_validator/rfc3339_validator-%{version}.tar.gz # https://github.com/naimetti/rfc3339-validator/issues/11 Patch0: python-rfc3339-validator-no-six.patch +BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros BuildArch: noarch @@ -44,10 +46,10 @@ A pure python RFC3339 validator %autosetup -p1 -n rfc3339_validator-%{version} %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %check @@ -55,7 +57,7 @@ A pure python RFC3339 validator %files %{python_files} %{python_sitelib}/rfc3339_validator.py -%pycache_only %{python_sitelib}/__pycache__/ -%{python_sitelib}/rfc3339_validator-*.egg-info/ +%pycache_only %{python_sitelib}/__pycache__/rfc3339_validator* +%{python_sitelib}/rfc3339_validator-%{version}*-info/ %changelog