Blame python-azure-mgmt-policyinsights.spec

0333fda
%global         srcname     azure-mgmt-policyinsights
0333fda
0333fda
Name:           python-%{srcname}
0333fda
Version:        1.0.0
2d6697b
Release:        2%{?dist}
0333fda
Summary:        Microsoft Azure Policy Insights Client Library for Python
0333fda
License:        MIT
0333fda
URL:            https://pypi.org/project/%{srcname}/
0333fda
Source0:        %{pypi_source %{srcname} %{version} zip}
0333fda
0333fda
BuildArch:      noarch
0333fda
0333fda
Obsoletes:      python-azure-sdk < 5.0.1
0333fda
0333fda
BuildRequires:  python%{python3_pkgversion}-devel
0333fda
BuildRequires:  pyproject-rpm-macros
0333fda
0333fda
0333fda
%global _description %{expand:
0333fda
Microsoft Azure Policy Insights Client Library for Python}
0333fda
0333fda
%description %{_description}
0333fda
0333fda
0333fda
%package -n python%{python3_pkgversion}-%{srcname}
0333fda
Summary:        %{summary}
0333fda
0333fda
%description -n python%{python3_pkgversion}-%{srcname} %{_description}
0333fda
0333fda
0333fda
%prep
0333fda
%autosetup -n %{srcname}-%{version}
0333fda
0333fda
0333fda
%generate_buildrequires
0333fda
%pyproject_buildrequires -r
0333fda
0333fda
0333fda
%build
0333fda
%pyproject_wheel
0333fda
0333fda
0333fda
%install
0333fda
%pyproject_install
0333fda
%pyproject_save_files azure
0333fda
0333fda
0333fda
%files -n python3-%{srcname} -f %{pyproject_files}
0333fda
%doc README.md
0333fda
0333fda
0333fda
%changelog
2d6697b
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.0-2
2d6697b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
2d6697b
0333fda
* Tue Jun 01 2021 Major Hayden <major@mhtx.net> - 1.0.0-1
0333fda
- First package.