%global srcname ezpi Name: python-%{srcname} Version: 0.5.1 Release: 1%{?dist} Summary: Simple library to write to public-inbox repos License: MIT-0 URL: https://sr.ht/~monsieuricon/ezpi/ Source0: https://git.sr.ht/~monsieuricon/ezpi/archive/v%{version}.tar.gz BuildArch: noarch BuildRequires: python3-devel BuildRequires: pyproject-rpm-macros %generate_buildrequires %pyproject_buildrequires %global _description %{expand: This is a very simple library that allows writing to 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 write 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 %description -n python3-%{srcname} %_description %prep %autosetup -n %{srcname}-v%{version} %build %pyproject_wheel %install %pyproject_install %pyproject_save_files %{srcname} %files -n python3-%{srcname} -f %{pyproject_files} %license COPYING %doc README %{_bindir}/* %changelog * 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.