diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..9bcd87b --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/azure-mgmt-trafficmanager-0.51.0.zip diff --git a/python-azure-mgmt-trafficmanager.spec b/python-azure-mgmt-trafficmanager.spec new file mode 100644 index 0000000..ffbe0e6 --- /dev/null +++ b/python-azure-mgmt-trafficmanager.spec @@ -0,0 +1,54 @@ +%global srcname azure-mgmt-trafficmanager + +Name: python-%{srcname} +Version: 0.51.0 +Release: 1%{?dist} +Summary: Microsoft Azure Traffic Manager 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 Traffic Manager 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 + + +%changelog +* Tue Jun 01 2021 Major Hayden - 0.51.0-1 +- First package. diff --git a/sources b/sources new file mode 100644 index 0000000..0bb47ad --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (azure-mgmt-trafficmanager-0.51.0.zip) = 472315f702d5b9c46bef993f9b4132a5164d6f88fb30ce31e18494dd7958bd1e57fab5db690224b7ed05a53253e874f44e7c9eb9d97db9054874613938c84a4d