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