diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..6f15d61 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/azure-mgmt-batchai-2.0.0.zip diff --git a/python-azure-mgmt-batchai.spec b/python-azure-mgmt-batchai.spec new file mode 100644 index 0000000..04c26ff --- /dev/null +++ b/python-azure-mgmt-batchai.spec @@ -0,0 +1,54 @@ +%global srcname azure-mgmt-batchai + +Name: python-%{srcname} +Version: 2.0.0 +Release: 1%{?dist} +Summary: Microsoft Azure Batch AI Management Client Library for Python +License: MIT +URL: https://pypi.org/project/%{srcname}/ +Source0: %{pypi_source %{srcname} %{version} zip} + +BuildArch: noarch + +Obsoletes: python-azure-sdk < 5.0.1 + +BuildRequires: python%{python3_pkgversion}-devel +BuildRequires: pyproject-rpm-macros + + +%global _description %{expand: +Microsoft Azure Batch AI Management Client Library for Python} + +%description %{_description} + + +%package -n python%{python3_pkgversion}-%{srcname} +Summary: %{summary} + +%description -n python%{python3_pkgversion}-%{srcname} %{_description} + + +%prep +%autosetup -n %{srcname}-%{version} + + +%generate_buildrequires +%pyproject_buildrequires -r + + +%build +%pyproject_wheel + + +%install +%pyproject_install +%pyproject_save_files azure + + +%files -n python3-%{srcname} -f %{pyproject_files} +%doc README.rst HISTORY.rst + + +%changelog +* Tue Jun 01 2021 Major Hayden - 2.0.0-1 +- First package. diff --git a/sources b/sources new file mode 100644 index 0000000..fc16f13 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (azure-mgmt-batchai-2.0.0.zip) = 67f16bb454ef9ca009e81788d68782dfd65ff62d31ddb6708e9e3c07ceb60a199cf1d4f4917bd9f37c1d9d7bf14f1746fbe8e566ccc0d567f99fb5dbcf9d1aa4