%global modname swtpm_cert_manager Name: swtpm-cert-manager Version: 0.2.0 Release: 1%{?dist} Summary: A tool for generating SWTPM state files with a malformed EK to aid debugging 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 Requires: swtpm Requires: swtpm-tools Requires: tpm2-tools %global _description %{expand: A tool for generating SWTPM state files with a malformed EK to aid debugging.} %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}/swtpm-cert-malformed %{_datadir}/%{name}/swtpm_setup_malformed.conf %changelog * Sun Aug 24 2025 Sergio Correia - 0.1.2-1 - Improved test coverage, added serial number management * Sun Aug 24 2025 Sergio Correia - 0.1.2-1 - Implement swtpm_cert wrapper at swtpm-cert-malformed Removed other functionality for now * 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