diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..71eac80 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/azure-mgmt-network-19.0.0.zip diff --git a/python-azure-mgmt-network.spec b/python-azure-mgmt-network.spec new file mode 100644 index 0000000..9fb8ee4 --- /dev/null +++ b/python-azure-mgmt-network.spec @@ -0,0 +1,54 @@ +%global srcname azure-mgmt-network + +Name: python-%{srcname} +Version: 19.0.0 +Release: 1%{?dist} +Summary: Microsoft Azure Network 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 Network 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.md + + +%changelog +* Tue Jun 01 2021 Major Hayden - 19.0.0-1 +- First package. diff --git a/sources b/sources new file mode 100644 index 0000000..22ad1be --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (azure-mgmt-network-19.0.0.zip) = 7fc27c62a4d19bf4b19c00f766086c3fb49cbf9cda56e5606bb5883142a1ab95f930ac8a2c39c10ba76a820545e538fb26877da9739fbbede9d123bd6388389e