## START: Set by rpmautospec ## (rpmautospec version 0.8.4) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 3; 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 upname pycayennelpp Name: python-%{upname} Version: 2.4.0 Release: %autorelease Summary: Cayenne Low Power Payload (CayenneLPP) decoder and encoder in Python License: MIT URL: https://github.com/smlng/pycayennelpp Source: %{url}/archive/v%{version}/%{upname}-%{version}.tar.gz Patch1: 0001-Stop-using-pytest-runner.patch BuildArch: noarch BuildRequires: python3-devel # Test dependencies: BuildRequires: python3dist(pytest) %global _description %{expand: A Cayenne Low Power Payload (CayenneLPP) decoder and encoder written in Python. PyCayenneLPP offers a concise interface with proper encoding and decoding functionality for the CayenneLPP format, supporting many sensor types. The project aims for overall high code quality and good test coverage. } %description %_description %package -n python3-%{upname} Summary: %{summary} Recommends: python3-%{upname} %description -n python3-%{upname} %_description %prep %autosetup -p1 -n %{upname}-%{version} %generate_buildrequires %pyproject_buildrequires %build %pyproject_wheel %install %pyproject_install %pyproject_save_files -l cayennelpp %check %pytest %files -n python3-%{upname} -f %{pyproject_files} %doc README.md %changelog ## START: Generated by rpmautospec * Thu Jul 16 2026 Fedora Release Engineering - 2.4.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild * Wed Jun 03 2026 Python Maint - 2.4.0-2 - Rebuilt for Python 3.15 * Thu Apr 16 2026 Petr Menšík - 2.4.0-1 - Initial import (rhbz#2452050) ## END: Generated by rpmautospec