## START: Set by rpmautospec ## (rpmautospec version 0.3.5) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 1; 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 Name: python-comm Version: 0.2.0 Release: %autorelease Summary: Jupyter Python Comm implementation, for usage in ipykernel, xeus-python etc. License: BSD-3-Clause URL: https://github.com/ipython/comm Source: %{url}/archive/v%{version}/comm-%{version}.tar.gz BuildArch: noarch BuildRequires: python3-devel %global _description %{expand: Comm provides a way to register a Kernel Comm implementation, as per the Jupyter kernel protocol. It also provides a base Comm implementation and a default CommManager that can be used.} %description %_description %package -n python3-comm Summary: %{summary} %description -n python3-comm %_description %prep %autosetup -p1 -n comm-%{version} %generate_buildrequires %pyproject_buildrequires -x test %build %pyproject_wheel %install %pyproject_install %pyproject_save_files comm %check %pytest %files -n python3-comm -f %{pyproject_files} %doc README.md %changelog * Tue Nov 07 2023 Lumir Balhar - 0.2.0-1 - Update to 0.2.0 (rhbz#2248151) * Fri Aug 11 2023 Lumir Balhar - 0.1.4-1 - Initial import (fedora#2228788).