## START: Set by rpmautospec ## (rpmautospec version 0.7.3) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 4; 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 pypi_name multibase %global common_description %{expand: Multibase is a protocol for distinguishing base encodings and other simple string encodings, and for ensuring full compatibility with program interfaces. It answers the question: Given data d encoded into string s, how can I tell what base d is encoded with?} Name: python-%{pypi_name} Version: 1.0.3 Release: %autorelease BuildArch: noarch Summary: Multibase implementation in Python License: MIT URL: https://github.com/multiformats/py-%{pypi_name} VCS: git:%{url}.git Source0: %{pypi_source py-%{pypi_name}} # https://github.com/multiformats/py-multibase/pull/16 Patch1: python-multibase-0001-Fix-issues-with-py.test.patch BuildRequires: python3-pytest BuildSystem: pyproject BuildOption(prep): -n py-%{pypi_name}-%{version} BuildOption(install): -l %{pypi_name} %description %{common_description} %package -n python3-%{pypi_name} Summary: %{summary} %description -n python3-%{pypi_name} %{common_description} %check -a %pytest %files -n python3-%{pypi_name} -f %{pyproject_files} %doc AUTHORS.rst HISTORY.rst README.rst %changelog ## START: Generated by rpmautospec * Thu Mar 13 2025 Peter Lemenkov - 1.0.3-4 - Fix typo * Thu Mar 13 2025 Peter Lemenkov - 1.0.3-3 - F41+: Use the provisional declarative buildsystem * Sat Jan 18 2025 Fedora Release Engineering - 1.0.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild * Mon Aug 12 2024 Peter Lemenkov - 1.0.3-1 - Initial package ## END: Generated by rpmautospec