diff --git a/python-azure-mgmt-maps.spec b/python-azure-mgmt-maps.spec index f032b1c..8af16db 100644 --- a/python-azure-mgmt-maps.spec +++ b/python-azure-mgmt-maps.spec @@ -39,7 +39,7 @@ Microsoft Azure Maps Client Library for Python} %package -n python3-%{srcname} Summary: %{summary} -Obsoletes: python3-azure-sdk < 5.0.1 + %description -n python3-%{srcname} %{_description} @@ -48,7 +48,7 @@ Obsoletes: python3-azure-sdk < 5.0.1 %generate_buildrequires -%pyproject_buildrequires -r +%pyproject_buildrequires %build @@ -60,8 +60,10 @@ Obsoletes: python3-azure-sdk < 5.0.1 %pyproject_save_files azure -%if %{with tests} %check +%pyproject_check_import + +%if %{with tests} %pytest %endif