Blame python-azure-mgmt-batch.spec

cb5224f
%global         srcname     azure-mgmt-batch
cb5224f
cb5224f
Name:           python-%{srcname}
7b7c873
Version:        16.0.0
3ddd345
Release:        3%{?dist}
cb5224f
Summary:        Microsoft Azure Batch Management Client Library for Python
cb5224f
License:        MIT
cb5224f
URL:            https://pypi.org/project/%{srcname}/
cb5224f
Source0:        %{pypi_source %{srcname} %{version} zip}
cb5224f
cb5224f
BuildArch:      noarch
cb5224f
ed4419e
Obsoletes:      python3-azure-sdk < 5.0.1
cb5224f
7b7c873
BuildRequires:  python3-devel
cb5224f
BuildRequires:  pyproject-rpm-macros
cb5224f
cb5224f
cb5224f
%global _description %{expand:
cb5224f
Microsoft Azure Batch Management Client Library for Python}
cb5224f
cb5224f
%description %{_description}
cb5224f
cb5224f
7b7c873
%package -n python3-%{srcname}
cb5224f
Summary:        %{summary}
3ddd345
Obsoletes:      python3-azure-sdk < 5.0.1
7b7c873
%description -n python3-%{srcname} %{_description}
cb5224f
cb5224f
cb5224f
%prep
cb5224f
%autosetup -n %{srcname}-%{version}
cb5224f
cb5224f
cb5224f
%generate_buildrequires
cb5224f
%pyproject_buildrequires -r
cb5224f
cb5224f
cb5224f
%build
cb5224f
%pyproject_wheel
cb5224f
cb5224f
cb5224f
%install
cb5224f
%pyproject_install
cb5224f
%pyproject_save_files azure
cb5224f
cb5224f
cb5224f
%files -n python3-%{srcname} -f %{pyproject_files}
cb5224f
%doc README.md CHANGELOG.md
cb5224f
cb5224f
cb5224f
%changelog
3ddd345
* Wed Sep 08 2021 Major Hayden <major@mhtx.net> - 16.0.0-3
3ddd345
- Move obsoletes into subpackage
3ddd345
ed4419e
* Wed Sep 08 2021 Major Hayden <major@mhtx.net> - 16.0.0-2
ed4419e
- Move obsoletes into subpackage
ed4419e
7b7c873
* Wed Aug 11 2021 Major Hayden <major@mhtx.net> - 16.0.0-1
7b7c873
- Update to 16.0.0
7b7c873
9c19e80
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 15.0.0-2
9c19e80
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
9c19e80
cb5224f
* Tue Jun 01 2021 Major Hayden <major@mhtx.net> - 15.0.0-1
cb5224f
- First package.