%global _buildid .prod1 %global pyver 3.15 %global python python%{pyver} %global puresitedir %{_prefix}/lib/python%{pyver}/site-packages Name: python%{pyver}-zipp Version: 4.1.0 Release: 1%{?dist}%{?_trivial}%{?_buildid} Summary: Backport of pathlib-compatible object wrapper for zip files License: MIT URL: https://github.com/jaraco/zipp Source0: https://files.pythonhosted.org/packages/source/z/zipp/zipp-%{version}.tar.gz BuildArch: noarch BuildRequires: python%{pyver} BuildRequires: python%{pyver}-libs BuildRequires: python%{pyver}-setuptools BuildRequires: python%{pyver}-wheel BuildRequires: python%{pyver}-pip BuildRequires: python%{pyver}-installer Requires: python%{pyver}-libs %description A pathlib-compatible Zipfile object wrapper. %prep %autosetup -n zipp-%{version} %build SETUPTOOLS_SCM_PRETEND_VERSION=%{version} %{python} -m pip wheel --no-deps --no-build-isolation -w dist . %install %{python} -m installer --destdir=%{buildroot} dist/*.whl %files %{puresitedir}/zipp/ %{puresitedir}/zipp-*.dist-info/ %changelog * Wed Jul 08 2026 Yonghang Wang - 4.1.0-1%{?dist}%{?_trivial}%{?_buildid} - Build for al2023