%global srcname ezpi Name: python-%{srcname} Version: 0.8.0 Release: 2%{?dist} Summary: Simple library to read and write public-inbox repos License: MIT-0 URL: https://git.kernel.org/pub/scm/utils/ezpi/ezpi.git Source0: https://www.kernel.org/pub/software/devel/%{srcname}/%{srcname}-%{version}.tar.xz BuildArch: noarch BuildRequires: python3-devel BuildRequires: pyproject-rpm-macros # For %check: the tests drive real git repos through the subprocess backend BuildRequires: git-core BuildRequires: python3-pytest %generate_buildrequires %pyproject_buildrequires %global _description %{expand: This is a small library for reading and writing public-inbox v2 repositories. Note, that this is not a suitable replacement for public-inbox in itself -- the goal is merely to provide a way to produce and consume public-inbox repositories that can be cloned, indexed and served from an actual public-inbox server running elsewhere.} %description %_description %package -n python3-%{srcname} Summary: %{summary} BuildRequires: python3-devel, python3-setuptools # Without pygit2, all repository access goes through the git binary Requires: git-core %description -n python3-%{srcname} %_description %prep %autosetup -n %{srcname}-%{version} sed -i -e 's/"MIT-0"/{ text = "MIT-0" }/g' pyproject.toml %build %pyproject_wheel %install %pyproject_install %pyproject_save_files %{srcname} %check %pytest %files -n python3-%{srcname} -f %{pyproject_files} %license COPYING %doc README %{_bindir}/* %changelog * Fri Nov 06 2026 Konstantin Ryabitsev - 0.8.0-2 - Use the official kernel.org release tarball and project URL * Fri Nov 06 2026 Konstantin Ryabitsev - 0.8.0-1 - Update to 0.8.0 - Require git-core, which ezpi needs at runtime - Run the upstream test suite in %%check * Fri May 15 2026 Konstantin Ryabitsev - 0.6-1 - Update to 0.6 * Mon Dec 22 2025 Konstantin Ryabitsev - 0.5.1-1 - Update to 0.5.1 * Wed Jul 24 2024 Konstantin Ryabitsev - 0.4.0-1 - Update to 0.4.0 * Mon Oct 26 2020 Konstantin Ryabitsev - 0.3.0-1 - Update to 0.3.0 * Thu Oct 22 2020 Konstantin Ryabitsev - 0.2.2-1 - Initial RPM packaging.