Name: python3-cobs Version: 1.2.2 Release: 1%{?dist} Summary: Consistent Overhead Byte Stuffing - Python implementation License: MIT URL: https://pythonhosted.org/cobs/ Source: %{pypi_source cobs} BuildRequires: gcc BuildRequires: python3-devel %description COBS is a method of encoding a packet of bytes into a form that contains no bytes with value zero (0x00). The input packet of bytes can contain bytes in the full range of 0x00 to 0xFF. The COBS encoded packet is guaranteed to generate packets with bytes only in the range 0x01 to 0xFF. Thus, in a communication protocol, packet boundaries can be reliably delimited with 0x00 bytes. %prep %autosetup -n cobs-%{version} %generate_buildrequires %pyproject_buildrequires %build %pyproject_wheel %install %pyproject_install %pyproject_save_files cobs %check %{py3_test_envvars} %{python3} -m cobs.cobs.test %{py3_test_envvars} %{python3} -m cobs.cobsr.test %files -f %{pyproject_files} %license LICENSE.txt %doc README.rst %changelog * Sun Nov 2 2025 Antoine Damhet - 1.2.2-1 - Initial package version