diff --git a/python-virt-firmware.spec b/python-virt-firmware.spec index 199e924..d286c8d 100644 --- a/python-virt-firmware.spec +++ b/python-virt-firmware.spec @@ -25,21 +25,16 @@ to enroll secure boot certificates. Summary: %{summary} %{?python_provide:%python_provide python3-virt-firmware} Provides: virt-firmware +Obsoletes: python3-virt-firmware-peutils < 23.9 Requires: python3dist(cryptography) Requires: python3dist(setuptools) +Requires: python3dist(pefile) %description -n python3-virt-firmware 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 firmware volumes. Variable stores (OVMF_VARS.fd) can be modified, for example to enroll secure boot certificates. -%package -n python3-virt-firmware-peutils -Summary: %{summary} - peutils -Requires: python3dist(pefile) -Conflicts: python3-virt-firmware < 1.6 -%description -n python3-virt-firmware-peutils -Some utilities to inspect efi (pe) binaries. - %package -n python3-virt-firmware-tests Summary: %{summary} - test cases Requires: python3-virt-firmware @@ -73,17 +68,15 @@ cp -ar tests %{buildroot}%{_datadir}/%{name} %{_bindir}/kernel-bootcfg %{_bindir}/uefi-boot-menu %{_bindir}/migrate-vars +%{_bindir}/pe-dumpinfo +%{_bindir}/pe-listsigs +%{_bindir}/pe-addsigs %{_mandir}/man1/virt-*.1* %{_mandir}/man1/kernel-bootcfg.1* %{_mandir}/man1/uefi-boot-menu.1* %{python3_sitelib}/virt/firmware -%{python3_sitelib}/virt_firmware-%{pypi_version}-py%{python3_version}.egg-info - -%files -n python3-virt-firmware-peutils %{python3_sitelib}/virt/peutils -%{_bindir}/pe-dumpinfo -%{_bindir}/pe-listsigs -%{_bindir}/pe-addsigs +%{python3_sitelib}/virt_firmware-%{pypi_version}-py%{python3_version}.egg-info %files -n python3-virt-firmware-tests %{_datadir}/%{name}/tests