import package from fedora

Resolves: rhbz#2089785
This commit is contained in:
Gerd Hoffmann 2022-09-20 11:12:23 +02:00
parent 2366e79ad4
commit 2b5ced5941
4 changed files with 87 additions and 0 deletions

1
.gitignore vendored
View File

@ -0,0 +1 @@
virt-firmware-v1.2.tar.gz

6
gating.yaml Normal file
View File

@ -0,0 +1,6 @@
--- !Policy
product_versions:
- rhel-9
decision_context: osci_compose_gate
rules:
- !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional}

79
python-virt-firmware.spec Normal file
View File

@ -0,0 +1,79 @@
%global pypi_version 1.2
Name: python-virt-firmware
Version: %{pypi_version}
Release: 2%{?dist}
Summary: Tools for virtual machine firmware volumes
License: GPLv2
URL: https://gitlab.com/kraxel/virt-firmware
Source0: https://gitlab.com/kraxel/virt-firmware/-/archive/v%{pypi_version}/virt-firmware-v%{pypi_version}.tar.gz
BuildArch: noarch
BuildRequires: python3-devel
BuildRequires: python3dist(setuptools)
%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
firmware volumes. Variable stores (OVMF_VARS.fd) can be modified, for example
to enroll secure boot certificates.
%package -n python3-virt-firmware
Summary: %{summary}
%{?python_provide:%python_provide python3-virt-firmware}
Requires: python3dist(cryptography)
Requires: python3dist(setuptools)
%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.
%prep
%autosetup -n virt-firmware-v%{pypi_version}
%build
%py3_build
%install
%py3_install
%files -n python3-virt-firmware
%license LICENSE
%doc README.md
%{_bindir}/host-efi-vars
%{_bindir}/virt-fw-dump
%{_bindir}/virt-fw-vars
%{_bindir}/virt-fw-sigdb
%{_bindir}/pe-dumpinfo
%{_bindir}/pe-listsigs
%{_bindir}/pe-addsigs
%{python3_sitelib}/virt
%{python3_sitelib}/virt/firmware
%{python3_sitelib}/virt/firmware/efi
%{python3_sitelib}/virt/firmware/varstore
%{python3_sitelib}/virt_firmware-%{pypi_version}-py%{python3_version}.egg-info
%changelog
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Mon Jul 18 2022 Gerd Hoffmann <kraxel@redhat.com> - 1.2-1
- update to version 1.2
* Fri Jul 01 2022 Gerd Hoffmann <kraxel@redhat.com> - 1.1-1
- update to version 1.1
* Wed Jun 22 2022 Gerd Hoffmann <kraxel@redhat.com> - 1.0-1
- update to version 1.0
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 0.98-2
- Rebuilt for Python 3.11
* Tue May 24 2022 Gerd Hoffmann <kraxel@redhat.com> - 0.98-1
- update to version 0.98
* Mon Apr 11 2022 Gerd Hoffmann <kraxel@redhat.com> - 0.95-1
- Initial package.

1
sources Normal file
View File

@ -0,0 +1 @@
SHA512 (virt-firmware-v1.2.tar.gz) = 946aad49cc64369d6bfda9cf7614d47f2c5b87832cf223b5336dfafccc0f6361df4f4abd73f68bf53519ab3be782b39671b44d23ad87e2b837d3f3ac1effa473