diff --git a/python-azure-mgmt-redis.spec b/python-azure-mgmt-redis.spec index db4c830..6842adf 100644 --- a/python-azure-mgmt-redis.spec +++ b/python-azure-mgmt-redis.spec @@ -19,7 +19,6 @@ BuildArch: noarch Epoch: 1 - BuildRequires: python3-devel %if %{with tests} @@ -40,7 +39,7 @@ Microsoft Azure Redis Cache Management Client Library for Python} %package -n python3-%{srcname} Summary: %{summary} -Obsoletes: python3-azure-sdk < 5.0.1 + %description -n python3-%{srcname} %{_description} @@ -61,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