Blame mingw-python-markupsafe.spec

ad2f08c
%{?mingw_package_header}
ad2f08c
ad2f08c
%global pkgname markupsafe
9446ce1
%global pypi_name MarkupSafe
ad2f08c
ad2f08c
Name:          mingw-python-%{pkgname}
ad2f08c
Summary:       MinGW Windows Python %{pkgname} library
7b2104c
Version:       2.1.1
e43d049
Release:       3%{?dist}
ad2f08c
BuildArch:     noarch
ad2f08c
ad2f08c
License:       BSD
ad2f08c
URL:           https://pypi.org/project/MarkupSafe/
9446ce1
Source0:       %pypi_source
ad2f08c
ad2f08c
BuildRequires: mingw32-filesystem >= 95
ad2f08c
BuildRequires: mingw32-gcc
ad2f08c
BuildRequires: mingw32-python3
ad2f08c
BuildRequires: mingw32-python3-setuptools
ad2f08c
ad2f08c
BuildRequires: mingw64-filesystem >= 95
ad2f08c
BuildRequires: mingw64-gcc
ad2f08c
BuildRequires: mingw64-python3
ad2f08c
BuildRequires: mingw64-python3-setuptools
ad2f08c
ad2f08c
ad2f08c
%description
ad2f08c
MinGW Windows Python %{pkgname} library.
ad2f08c
ad2f08c
ad2f08c
%package -n mingw32-python3-%{pkgname}
ad2f08c
Summary:       MinGW Windows Python3 %{pkgname} library
ad2f08c
ad2f08c
%description -n mingw32-python3-%{pkgname}
ad2f08c
MinGW Windows Python3 %{pkgname} library.
ad2f08c
ad2f08c
ad2f08c
%package -n mingw64-python3-%{pkgname}
ad2f08c
Summary:       MinGW Windows Python3 %{pkgname} library
ad2f08c
ad2f08c
%description -n mingw64-python3-%{pkgname}
ad2f08c
MinGW Windows Python3 %{pkgname} library.
ad2f08c
ad2f08c
afb8dfb
%{?mingw_debug_package}
afb8dfb
afb8dfb
ad2f08c
%prep
9446ce1
%autosetup -p1 -n %{pypi_name}-%{version}
ad2f08c
ad2f08c
ad2f08c
%build
ad2f08c
%{mingw32_py3_build}
ad2f08c
%{mingw64_py3_build}
ad2f08c
ad2f08c
ad2f08c
%install
ad2f08c
%{mingw32_py3_install}
ad2f08c
%{mingw64_py3_install}
ad2f08c
ad2f08c
# C code errantly gets installed
ad2f08c
rm %{buildroot}%{mingw32_python3_sitearch}/markupsafe/*.c
ad2f08c
rm %{buildroot}%{mingw64_python3_sitearch}/markupsafe/*.c
ad2f08c
ad2f08c
afb8dfb
%files -n mingw32-python3-%{pkgname}
ad2f08c
%license LICENSE.rst
ad2f08c
%{mingw32_python3_sitearch}/markupsafe/
9446ce1
%{mingw32_python3_sitearch}/%{pypi_name}-%{version}-py%{mingw32_python3_version}.egg-info/
ad2f08c
afb8dfb
%files -n mingw64-python3-%{pkgname}
ad2f08c
%license LICENSE.rst
ad2f08c
%{mingw64_python3_sitearch}/markupsafe/
9446ce1
%{mingw64_python3_sitearch}/%{pypi_name}-%{version}-py%{mingw64_python3_version}.egg-info/
ad2f08c
ad2f08c
ad2f08c
%changelog
e43d049
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.1-3
e43d049
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
e43d049
743faec
* Fri Mar 25 2022 Sandro Mani <manisandro@gmail.com> - 2.1.1-2
743faec
- Rebuild with mingw-gcc-12
743faec
7b2104c
* Mon Mar 21 2022 Sandro Mani <manisandro@gmail.com> - 2.1.1-1
7b2104c
- Update to 2.1.1
7b2104c
53e1765
* Thu Feb 10 2022 Sandro Mani <manisandro@gmail.com> - 2.0.1-5
53e1765
- Rebuild for new python dependency generator (take two)
53e1765
f9b03aa
* Thu Feb 10 2022 Sandro Mani <manisandro@gmail.com> - 2.0.1-4
f9b03aa
- Rebuild for new python dependency generator
f9b03aa
a4543bc
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.1-3
a4543bc
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
a4543bc
985f732
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.1-2
985f732
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
985f732
f51ac56
* Fri Jul 16 2021 Sandro Mani <manisandro@gmail.com> - 2.0.1-1
f51ac56
- Update to 2.0.1
f51ac56
5675002
* Fri Jun 11 2021 Sandro Mani <manisandro@gmail.com> - 1.1.1-5
5675002
- Rebuild (python-3.10)
5675002
cd5763f
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.1-4
cd5763f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
cd5763f
ad2f08c
* Sun Nov 08 2020 Sandro Mani <manisandro@gmail.com> - 1.1.1-3
ad2f08c
- Switch to py3_build/py3_install macros
ad2f08c
ad2f08c
* Tue Jun 02 2020 Sandro Mani <manisandro@gmail.com> - 1.1.1-2
ad2f08c
- Rebuild (python-3.9)
ad2f08c
ad2f08c
* Tue Mar 03 2020 Sandro Mani <manisandro@gmail.com> - 1.1.1-1
ad2f08c
- Initial package