Remove the custom wheel builder

The custom wheel builder provided by Microsoft adds a requirement for
azure-nspkg and this is not needed in Python 3.

Signed-off-by: Major Hayden <major@mhtx.net>
This commit is contained in:
Major Hayden 2021-07-07 08:00:45 -05:00
commit 5408fe3e4f
No known key found for this signature in database
GPG key ID: 737051E0C1011FB1
2 changed files with 30 additions and 2 deletions

View file

@ -2,11 +2,12 @@
Name: python-%{srcname}
Version: 0.1.0
Release: 1%{?dist}
Release: 2%{?dist}
Summary: Microsoft Azure Log Analytics Client Library for Python
License: MIT
URL: https://pypi.org/project/%{srcname}/
Source0: %{pypi_source %{srcname} %{version} zip}
Patch0: remove-custom-wheel-builder.patch
BuildArch: noarch
@ -29,7 +30,11 @@ Summary: %{summary}
%prep
%autosetup -n %{srcname}-%{version}
%autosetup -p0 -n %{srcname}-%{version}
# Remove the customized wheel builder included by Microsoft that adds
# azure-nspkg to the requirements.
rm -f azure_bdist_wheel.py
%generate_buildrequires
@ -50,5 +55,8 @@ Summary: %{summary}
%changelog
* Wed Jul 07 2021 Major Hayden <major@mhtx.net> - 0.1.0-2
- Remove custom wheel builder that adds the azure-nspkg requirement.
* Tue Jun 01 2021 Major Hayden <major@mhtx.net> - 0.1.0-1
- First package.