From 7b091e54b1f822c48da7f76a0cdbc09d41eee8fd Mon Sep 17 00:00:00 2001 From: Major Hayden Date: Aug 11 2021 11:52:11 +0000 Subject: Update to 8.1.0; add tests --- diff --git a/python-azure-mgmt-containerregistry.spec b/python-azure-mgmt-containerregistry.spec index 5de44a8..70f104f 100644 --- a/python-azure-mgmt-containerregistry.spec +++ b/python-azure-mgmt-containerregistry.spec @@ -1,7 +1,9 @@ +%bcond_without tests + %global srcname azure-mgmt-containerregistry Name: python-%{srcname} -Version: 8.0.0 +Version: 8.1.0 Release: 2%{?dist} Summary: Microsoft Azure Container Registry Client Library for Python License: MIT @@ -17,6 +19,13 @@ Obsoletes: python-azure-sdk < 5.0.1 BuildRequires: python3-devel BuildRequires: pyproject-rpm-macros +%if %{with tests} +BuildRequires: python3dist(azure-devtools) +BuildRequires: python3dist(azure-mgmt-keyvault) +BuildRequires: python3dist(azure-mgmt-resource) +BuildRequires: python3dist(azure-sdk-tools) +BuildRequires: python3dist(pytest) +%endif %global _description %{expand: Microsoft Azure Container Registry Client Library for Python} @@ -47,11 +56,20 @@ Summary: %{summary} %pyproject_save_files azure +%if %{with tests} +%check +%pytest +%endif + + %files -n python3-%{srcname} -f %{pyproject_files} %doc README.md CHANGELOG.md %changelog +* Wed Aug 11 2021 Major Hayden - 1:8.1.0-2 +- Update to 8.1.0 + * Mon Jul 26 2021 Major Hayden - 1:8.0.0-2 - Update docs file list diff --git a/sources b/sources index f5f304a..c38bae0 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (azure-mgmt-containerregistry-8.0.0.zip) = 660d6afcd1c5c99aeb0fccaed88e4bc1ca0d0afb8d16a6542b3a985f753db59e146a1c90aeb91b72b70b7d2643a8e9d9c9f4f5ea5d745962f210fe41dfceab23 +SHA512 (azure-mgmt-containerregistry-8.1.0.zip) = a5ad2614fd08e77be516f721d2397de05c201fc1803d9a670fa843765ad0635fda8cc8fe3850bcae81238ae9b067d5d39b150a35c92ea6301d4e3e36d5c0718c