diff --git a/python-virt-firmware.spec b/python-virt-firmware.spec index 771d6fb..df5a74e 100644 --- a/python-virt-firmware.spec +++ b/python-virt-firmware.spec @@ -1,21 +1,20 @@ -%global pypi_version 25.4.1 - Name: python-virt-firmware -Version: %{pypi_version} +Version: 25.7 Release: %autorelease Summary: Tools for virtual machine firmware volumes License: GPL-2.0-only URL: https://pypi.org/project/virt-firmware/ -Source0: virt_firmware-%{pypi_version}.tar.gz +Source0: virt_firmware-%{version}.tar.gz BuildArch: noarch BuildRequires: python3-devel -BuildRequires: python3dist(cryptography) -BuildRequires: python3dist(setuptools) BuildRequires: make help2man BuildRequires: systemd systemd-rpm-macros +%generate_buildrequires +%pyproject_buildrequires + %description Tools for ovmf / armvirt firmware volumes This is a small collection of tools for edk2 firmware images. They support decoding and printing the content of @@ -63,13 +62,13 @@ be used for a more finegrained secure boot configuration for virtual machines. %prep -%autosetup -n virt_firmware-%{pypi_version} +%autosetup -n virt_firmware-%{version} %build -%py3_build +%pyproject_wheel %install -%py3_install +%pyproject_install # manpages install -m 755 -d %{buildroot}%{_mandir}/man1 install -m 644 man/*.1 %{buildroot}%{_mandir}/man1 @@ -120,7 +119,7 @@ done %{_mandir}/man1/pe-*.1* %{python3_sitelib}/virt/firmware %{python3_sitelib}/virt/peutils -%{python3_sitelib}/virt_firmware-%{pypi_version}-py%{python3_version}.egg-info +%{python3_sitelib}/virt_firmware-%{version}.dist-info %files -n python3-virt-firmware-tests %{_datadir}/%{name}/tests diff --git a/sources b/sources index 36dc991..2f3d0d3 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (virt_firmware-25.4.1.tar.gz) = 2f82299415a0bf5dd8874764fe7d71cfe9a12e489657237f6a889288294e69fed9076219ae91a2d60084ae1ffac6bc4f3e2760999e8030aad045cb59ea152367 +SHA512 (virt_firmware-25.7.tar.gz) = 05ed004c09792603c7f5f26ad59707f20ee7982e7291d9eaea24168a6fde171ac5a64c943c7049349deeb97cd89fb121a6d24fe47b18f7bfa0227a07deb5b742