%{?mingw_package_header}
%global pypi_name six
Name: mingw-python-%{pypi_name}
Summary: MinGW Windows Python %{pypi_name} library
Version: 1.16.0
Release: 10%{?dist}
BuildArch: noarch
License: MIT
URL: https://pypi.python.org/pypi/six
Source0: %{pypi_source}
BuildRequires: mingw32-filesystem >= 95
BuildRequires: mingw32-python3
BuildRequires: mingw32-python3-build
BuildRequires: mingw64-filesystem >= 95
BuildRequires: mingw64-python3
BuildRequires: mingw64-python3-build
%description
MinGW Windows Python %{pypi_name} library.
%package -n mingw32-python3-%{pypi_name}
Summary: MinGW Windows Python3 %{pypi_name} library
%description -n mingw32-python3-%{pypi_name}
MinGW Windows Python3 %{pypi_name} library.
%package -n mingw64-python3-%{pypi_name}
Summary: MinGW Windows Python3 %{pypi_name} library
%description -n mingw64-python3-%{pypi_name}
MinGW Windows Python3 %{pypi_name} library.
%prep
%autosetup -p1 -n %{pypi_name}-%{version}
%build
%mingw32_py3_build_wheel
%mingw64_py3_build_wheel
%install
%mingw32_py3_install_wheel
%mingw64_py3_install_wheel
%files -n mingw32-python3-%{pypi_name}
%license LICENSE
%{mingw32_python3_sitearch}/%{pypi_name}.py
%{mingw32_python3_sitearch}/__pycache__/%{pypi_name}.*
%{mingw32_python3_sitearch}/%{pypi_name}-%{version}.dist-info/
%files -n mingw64-python3-%{pypi_name}
%license LICENSE
%{mingw64_python3_sitearch}/%{pypi_name}.py
%{mingw64_python3_sitearch}/__pycache__/%{pypi_name}.*
%{mingw64_python3_sitearch}/%{pypi_name}-%{version}.dist-info/
%changelog
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.16.0-10
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.16.0-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
* Wed Oct 19 2022 Sandro Mani <manisandro@gmail.com> - 1.16.0-8
- Switch to python3-build
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.16.0-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Thu Feb 10 2022 Sandro Mani <manisandro@gmail.com> - 1.16.0-6
- Rebuild for new python dependency generator (take two)
* Thu Feb 10 2022 Sandro Mani <manisandro@gmail.com> - 1.16.0-5
- Rebuild for new python dependency generator
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.16.0-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.16.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Fri Jun 11 2021 Sandro Mani <manisandro@gmail.com> - 1.16.0-2
- Rebuild (python-3.10)
* Tue May 11 2021 Sandro Mani <manisandro@gmail.com> - 1.16.0-1
- Update to 1.16.0
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.15.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Thu Nov 05 2020 Sandro Mani <manisandro@gmail.com> - 1.15.0-1
- Update to 1.15.0
* Tue Jun 02 2020 Sandro Mani <manisandro@gmail.com> - 1.12.0-2
- Rebuild (python-3.9)
* Sun Nov 03 2019 Sandro Mani <manisandro@gmail.com> - 0.12.0-1
- Initial package