%global pyver 3.15 %global python python%{pyver} %global puresitedir %{_prefix}/lib/python%{pyver}/site-packages %global srcname wheel %global version 0.47.0 Name: python%{pyver}-%{srcname} Version: %{version} Release: 1%{?dist}%{?_trivial}%{?_buildid} Summary: A built-package format for Python License: MIT URL: https://github.com/pypa/wheel Source0: https://files.pythonhosted.org/packages/source/w/%{srcname}/%{srcname}-%{version}.tar.gz BuildArch: noarch BuildRequires: python%{pyver} BuildRequires: python%{pyver}-libs BuildRequires: python%{pyver}-flit-core BuildRequires: python%{pyver}-installer Requires: python%{pyver}-libs %description Wheel is the reference implementation of the Python wheel packaging standard. %prep %autosetup -n %{srcname}-%{version} %build %{python} -m flit_core.wheel %install %{python} -m installer --destdir=%{buildroot} dist/*.whl %check PYTHONPATH=%{buildroot}%{puresitedir} %{python} -c "import wheel; print(wheel.__version__)" %files %license LICENSE.txt %{_bindir}/wheel %{puresitedir}/wheel/ %{puresitedir}/wheel-%{version}.dist-info/ %changelog * Wed Jul 08 2026 Yonghang Wang - %{version}-1%{?dist}%{?_trivial}%{?_buildid} - Build for al2023