## START: Set by rpmautospec ## (rpmautospec version 0.8.4) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 2; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec %global srcname liblore Name: python-%{srcname} Version: 0.10.1 Release: %autorelease Summary: Library for working with public-inbox License: GPL-2.0-or-later URL: https://git.kernel.org/pub/scm/utils/%{srcname}/%{srcname}.git Source0: https://mirrors.edge.kernel.org/pub/software/devel/%{srcname}/%{srcname}-%{version}.tar.xz Source1: https://mirrors.edge.kernel.org/pub/software/devel/%{srcname}/%{srcname}-%{version}.tar.sign # https://git.kernel.org/pub/scm/utils/b4/b4.git/plain/.keys/openpgp/linuxfoundation.org/konstantin/default Source2: gpgkey-DE0E66E32F1FDD0902666B96E63EDCA9329DD07E.asc Source3: %{name}.rpmlintrc BuildArch: noarch BuildRequires: python3-devel BuildRequires: pyproject-rpm-macros # Test dependencies are in the dev dependency group, intermixed with unwanted # linters, typecheckers, etc.; see # https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/#_linters. # Therefore, we maintain the following list of test dependencies manually. BuildRequires: python3dist(authheaders) BuildRequires: python3dist(pytest) BuildRequires: python3dist(pytest-asyncio) BuildRequires: python3dist(responses) BuildRequires: python3dist(typing-extensions) %global _description %{expand: A Python library for working with public-inbox servers, particularly lore.kernel.org. It fetches email threads, parses mbox files, and provides utilities for working with email messages from mailing list archives.} %description %_description %package -n %{srcname} Summary: %{summary} Provides: python%{python3_pkgversion}-%{srcname} = %{version}-%{release} %description -n %{srcname} %_description %prep xz -dc '%{SOURCE0}' | %{gpgverify} --keyring='%{SOURCE2}' --signature='%{SOURCE1}' --data=- %autosetup -p1 -n %{srcname}-%{version} %generate_buildrequires %pyproject_buildrequires -p %build %pyproject_wheel %install %pyproject_install %pyproject_save_files %{srcname} %check %pyproject_check_import %pytest %files -n %{srcname} -f %{pyproject_files} %changelog ## START: Generated by rpmautospec * Sun Oct 11 2026 Benjamin A. Beasley - 0.10.1-2 - Drop unwanted dependencies on linters, typecheckers, etc. * Mon Oct 05 2026 Maxime Ripard - 0.10.1-1 - liblore: Update to 0.10.1 * Fri Oct 02 2026 Maxime Ripard - 0.10.0-1 - liblore: Update to 0.10 * Mon Sep 14 2026 Maxime Ripard - 0.9.0-1 - Update to 0.9.0 * Mon Sep 14 2026 Maxime Ripard - 0.8.1-2 - Add missing 0.8.1 sources * Mon Sep 14 2026 Maxime Ripard - 0.8.1-1 - Initial import (fedora#2513852). ## END: Generated by rpmautospec