update to version 1.6, split peutils to subpackage

This commit is contained in:
Gerd Hoffmann 2022-11-10 11:51:56 +01:00
parent 5f0a0f50ad
commit 4fb6af2e30

View File

@ -1,4 +1,4 @@
%global pypi_version 1.5
%global pypi_version 1.6
Name: python-virt-firmware
Version: %{pypi_version}
@ -33,6 +33,12 @@ 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)
%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
@ -63,18 +69,25 @@ cp -ar tests %{buildroot}%{_datadir}/%{name}
%{_bindir}/virt-fw-dump
%{_bindir}/virt-fw-vars
%{_bindir}/virt-fw-sigdb
%{_bindir}/migrate-vars
%{_mandir}/man1/virt-*.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
%{_bindir}/migrate-vars
%{_mandir}/man1/*.1*
%{python3_sitelib}/virt/firmware
%{python3_sitelib}/virt_firmware-%{pypi_version}-py%{python3_version}.egg-info
%files -n python3-virt-firmware-tests
%{_datadir}/%{name}/tests
%changelog
* Thu Nov 10 2022 Gerd Hoffmann <kraxel@redhat.com> - 1.6-1
- update to version 1.6
- split peutils to subpackage
* Wed Oct 05 2022 Gerd Hoffmann <kraxel@redhat.com> - 1.5-1
- update to version 1.5