From 4238a7c616e8eb52d41f4ce05e513295b557471cf5ef24792ab976768f8c84f9 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Mon, 28 Oct 2024 22:52:38 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-schema?expand=0&rev=16 --- python-schema.spec | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/python-schema.spec b/python-schema.spec index 01dd78b..9336bfd 100644 --- a/python-schema.spec +++ b/python-schema.spec @@ -45,19 +45,20 @@ parsing, converted from JSON/YAML (or something else) to Python data-types. %autosetup -p1 -n schema-%{version} %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %check %pytest test_schema.py %files %{python_files} -%defattr(-,root,root,-) %doc README.rst %license LICENSE-MIT -%{python_sitelib}/* +%{python_sitelib}/schema.py +%pycache_only %{python_sitelib}/__pycache__/schema* +%{python_sitelib}/schema-%{version}.dist-info %changelog