%global modname swtpm_cert_manager Name: swtpm-cert-manager Version: 0.1.1 Release: 1%{?dist} Summary: A tool for analyzing and manipulating SWTPM state files to manage TPM certificates License: MIT-0 URL: https://github.com Source: %{name}-%{version}.tar.gz BuildArch: noarch BuildRequires: git-core BuildRequires: python-devel BuildRequires: python-pytest %if 0%{?rhel} < 10 BuildRequires: python-tomli %endif BuildRequires: openssl BuildRequires: swtpm BuildRequires: swtpm-tools BuildRequires: tpm2-tools Requires: openssl Requires: python-cryptography Requires: python-pyasn1 Requires: python-pyasn1-modules %if 0%{?rhel} < 10 Requires: python-tomli %endif Requires: swtpm Requires: swtpm-tools Requires: tpm2-tools %global _description %{expand: A tool for analyzing and manipulating SWTPM state files to manage TPM certificates.} %description %_description %prep %autosetup -S git %generate_buildrequires %pyproject_buildrequires -p %build %pyproject_wheel %install %pyproject_install %check %pytest tests/ -v %files %{python3_sitelib}/%{modname}* %{_bindir}/%{name} %changelog * Sat Aug 23 2025 Sergio Correia - 0.1.1-1 - Improve the --inject-malformed option * Thu Aug 21 2025 Sergio Correia - 0.1.0-1 - Initial release 0.1.0