Dirk Mueller 2023-05-29 14:34:53 +00:00 committed by Git OBS Bridge
parent d2027c602a
commit 2a7df49fde

View File

@ -26,9 +26,10 @@ Group: Development/Languages/Python
URL: https://github.com/horejsek/python-fastjsonschema URL: https://github.com/horejsek/python-fastjsonschema
Source: https://files.pythonhosted.org/packages/source/f/fastjsonschema/fastjsonschema-%{version}.tar.gz Source: https://files.pythonhosted.org/packages/source/f/fastjsonschema/fastjsonschema-%{version}.tar.gz
BuildRequires: %{python_module devel} BuildRequires: %{python_module devel}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module pytest-benchmark} BuildRequires: %{python_module pytest-benchmark}
BuildRequires: %{python_module pytest} BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools} BuildRequires: %{python_module wheel}
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
Suggests: python-json-spec Suggests: python-json-spec
@ -44,19 +45,19 @@ Fastest Python implementation of JSON schema
%autosetup -p1 -n fastjsonschema-%{version} %autosetup -p1 -n fastjsonschema-%{version}
%build %build
%python_build %pyproject_wheel
%check %check
%pytest %pytest
%install %install
%python_install %pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib} %python_expand %fdupes %{buildroot}%{$python_sitelib}
%files %{python_files} %files %{python_files}
%doc README.rst %doc README.rst
%license LICENSE %license LICENSE
%{python_sitelib}/fastjsonschema %{python_sitelib}/fastjsonschema
%{python_sitelib}/fastjsonschema-%{version}*-info %{python_sitelib}/fastjsonschema-%{version}.dist-info
%changelog %changelog