From 1844f6d2b4349ec3a389fa96d487ccd1e13926a4 Mon Sep 17 00:00:00 2001 From: Major Hayden Date: Jun 23 2022 14:25:30 +0000 Subject: Add import check --- diff --git a/python-azure-mgmt-databoxedge.spec b/python-azure-mgmt-databoxedge.spec index 0aa3243..b38f7a4 100644 --- a/python-azure-mgmt-databoxedge.spec +++ b/python-azure-mgmt-databoxedge.spec @@ -40,7 +40,7 @@ Microsoft Azure Databoxedge Management Client Library for Python} %package -n python3-%{srcname} Summary: %{summary} -Obsoletes: python3-azure-sdk < 5.0.1 + %description -n python3-%{srcname} %{_description} @@ -49,7 +49,7 @@ Obsoletes: python3-azure-sdk < 5.0.1 %generate_buildrequires -%pyproject_buildrequires -r +%pyproject_buildrequires %build @@ -61,14 +61,14 @@ Obsoletes: python3-azure-sdk < 5.0.1 %pyproject_save_files azure -%if %{with tests} %check +%pyproject_check_import + +%if %{with tests} %pytest %endif -# LICENSE file missing. Made a PR to fix. -# https://github.com/Azure/azure-sdk-for-python/pull/20162 %files -n python3-%{srcname} -f %{pyproject_files} %doc README.md CHANGELOG.md