15
0
2024-09-20 20:43:06 +00:00
committed by Git OBS Bridge
parent 1b0ca8d791
commit 72734a8176

View File

@@ -16,7 +16,6 @@
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%global flavor @BUILD_FLAVOR@%{nil}
%if "%{flavor}" == "test"
%define psuffix -test
@@ -59,7 +58,7 @@ Incremental is a small library that versions your Python projects.
%pyproject_wheel
%install
%if !%{with test}
%if %{without test}
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%endif
@@ -70,12 +69,12 @@ Incremental is a small library that versions your Python projects.
%pytest -k 'not test_examples.py'
%endif
%if !%{with test}
%if %{without test}
%files %{python_files}
%license LICENSE
%doc NEWS.rst README.rst
%{python_sitelib}/incremental
%{python_sitelib}/incremental-%{version}.dist-info
%{python_sitelib}/incremental-%{version}*-info
%endif
%changelog