Blob Blame History Raw
%global         srcname     azure-core

Name:           python-%{srcname}
Version:        1.13.0
Release:        2%{?dist}
Summary:        Azure Core shared client library for Python
License:        MIT
URL:            https://pypi.org/project/%{srcname}/
Source0:        %{pypi_source %{srcname} %{version} zip}

Epoch:          1

BuildArch:      noarch

Obsoletes:      python-azure-sdk < 5.0.1

BuildRequires:  python3-devel
BuildRequires:  pyproject-rpm-macros

%global _description %{expand:
Azure Core shared client library for Python}

%description %{_description}


%package -n python3-%{srcname}
Summary:        %{summary}

%description -n python3-%{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
* Fri Jul 23 2021 Major Hayden <major@mhtx.net> - 1:1.13.0-2
- Add epoch number for downgrade to 1.13.0

* Thu Jul 22 2021 Major Hayden <major@mhtx.net> - 1.13.0-1
- First package.