## START: Set by rpmautospec ## (rpmautospec version 0.8.4) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 2; 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-nethsm Version: 2.1.1 Release: %autorelease Summary: Client-side Python SDK for NetHSM License: Apache-2.0 URL: https://github.com/Nitrokey/nethsm-sdk-py Source: %{url}/archive/refs/tags/v%{version}.tar.gz Patch: %{url}/pull/159.patch BuildArch: noarch BuildRequires: python3-devel %global _description %{expand: %{summary}.} %description %_description %package -n python3-nethsm Summary: %{summary} %description -n python3-nethsm %_description %prep %autosetup -p1 -n nethsm-sdk-py-%{version} %generate_buildrequires %pyproject_buildrequires %build %pyproject_wheel %install %pyproject_install %pyproject_save_files -l nethsm -L %check # We can't really run upstream's test suite, almost all the tests depend # on a container running a stubbed NetHSM. %pyproject_check_import %files -n python3-nethsm -f %{pyproject_files} %license LICENSE %doc README.md %changelog ## START: Generated by rpmautospec * Thu Jul 16 2026 Fedora Release Engineering - 2.1.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild * Sun Jun 21 2026 Daniel Milnes - 2.1.1-1 - Initial import (rhbz#2491200) ## END: Generated by rpmautospec