14
0
forked from pool/python-schema
2024-10-28 22:52:38 +00:00
committed by Git OBS Bridge
parent cb69522551
commit 4238a7c616

View File

@@ -45,19 +45,20 @@ parsing, converted from JSON/YAML (or something else) to Python data-types.
%autosetup -p1 -n schema-%{version} %autosetup -p1 -n schema-%{version}
%build %build
%python_build %pyproject_wheel
%install %install
%python_install %pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib} %python_expand %fdupes %{buildroot}%{$python_sitelib}
%check %check
%pytest test_schema.py %pytest test_schema.py
%files %{python_files} %files %{python_files}
%defattr(-,root,root,-)
%doc README.rst %doc README.rst
%license LICENSE-MIT %license LICENSE-MIT
%{python_sitelib}/* %{python_sitelib}/schema.py
%pycache_only %{python_sitelib}/__pycache__/schema*
%{python_sitelib}/schema-%{version}.dist-info
%changelog %changelog