# SPDX-FileCopyrightText: (C) 2025, 2026 Institute of Software, Chinese Academy of Sciences (ISCAS) # SPDX-FileCopyrightText: (C) 2025, 2026 openRuyi Project Contributors # SPDX-FileContributor: Yifan Xu # # SPDX-License-Identifier: MulanPSL-2.0 %global srcname msgpack Name: python-%{srcname} Version: 1.1.2 Release: %autorelease Summary: Python MessagePack (de)serializer License: Apache-2.0 URL: https://msgpack.org/ #!RemoteAsset Source0: https://github.com/msgpack/msgpack-python/archive/v%{version}/%{srcname}-%{version}.tar.gz BuildSystem: pyproject BuildOption(install): -l %{srcname} BuildRequires: gcc-c++ BuildRequires: pyproject-rpm-macros BuildRequires: pkgconfig(python3) BuildRequires: python3dist(cython) BuildRequires: python3dist(pip) BuildRequires: python3dist(setuptools) %description MessagePack is a binary-based efficient data interchange format that is focused on high performance. It is like JSON, but very fast and small. This is a Python (de)serializer for MessagePack. %prep -a # There is a circular dependency with python-msgpack-ext rm -rf test/test_timestamp.py %generate_buildrequires %pyproject_buildrequires %build -p make cython %files -f %{pyproject_files} %doc README.md %license COPYING %changelog %{?autochangelog}