Compare commits

..

No commits in common. "c9-beta" and "c10s" have entirely different histories.

8 changed files with 97 additions and 87 deletions

3
.gitignore vendored
View File

@ -1 +1,2 @@
SOURCES/virt_firmware-24.7.tar.gz virt-firmware-*.tar.gz
virt_firmware-*.tar.gz

View File

@ -1 +0,0 @@
b86f80d1c107e315aa3ce9a8a4d37969ad6b5e7f SOURCES/virt_firmware-24.7.tar.gz

3
README.md Normal file
View File

@ -0,0 +1,3 @@
# python-virt-firmware
The python-virt-firmware package

59
changelog Normal file
View File

@ -0,0 +1,59 @@
* Fri Apr 14 2023 Gerd Hoffmann <kraxel@redhat.com> - 23.4-1
- update to version 23.4
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.8-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
* Mon Jan 16 2023 Gerd Hoffmann <kraxel@redhat.com> - 1.8-1
- update to version 1.8
* Fri Dec 02 2022 Gerd Hoffmann <kraxel@redhat.com> - 1.7-1
- update to version 1.7
* Thu Nov 10 2022 Gerd Hoffmann <kraxel@redhat.com> - 1.6-2
- add conflict declaration
* 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
* Wed Oct 05 2022 Gerd Hoffmann <kraxel@redhat.com> - 1.4-5
- turn on gating
* Wed Oct 05 2022 Gerd Hoffmann <kraxel@redhat.com> - 1.4-4
- more test dependency tweaks
* Wed Oct 05 2022 Gerd Hoffmann <kraxel@redhat.com> - 1.4-3
- tweak test dependencies
* Wed Oct 05 2022 Gerd Hoffmann <kraxel@redhat.com> - 1.4-2
- add tests
* Tue Sep 27 2022 Gerd Hoffmann <kraxel@redhat.com> - 1.4-1
- update to version 1.4
- add man-pages
- add tests sub-package
* 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.

6
gating.yaml Normal file
View File

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

View File

@ -1,11 +1,11 @@
%global pypi_version 24.7 %global pypi_version 24.11
Name: python-virt-firmware Name: python-virt-firmware
Version: %{pypi_version} Version: %{pypi_version}
Release: 1%{?dist} Release: %autorelease
Summary: Tools for virtual machine firmware volumes Summary: Tools for virtual machine firmware volumes
License: GPLv2 License: GPL-2.0-only
URL: https://pypi.org/project/virt-firmware/ URL: https://pypi.org/project/virt-firmware/
Source0: virt_firmware-%{pypi_version}.tar.gz Source0: virt_firmware-%{pypi_version}.tar.gz
BuildArch: noarch BuildArch: noarch
@ -13,7 +13,7 @@ BuildArch: noarch
BuildRequires: python3-devel BuildRequires: python3-devel
BuildRequires: python3dist(cryptography) BuildRequires: python3dist(cryptography)
BuildRequires: python3dist(setuptools) BuildRequires: python3dist(setuptools)
BuildRequires: make BuildRequires: make help2man
BuildRequires: systemd systemd-rpm-macros BuildRequires: systemd systemd-rpm-macros
%description %description
@ -26,6 +26,8 @@ to enroll secure boot certificates.
Summary: %{summary} Summary: %{summary}
%{?python_provide:%python_provide python3-virt-firmware} %{?python_provide:%python_provide python3-virt-firmware}
Provides: virt-firmware Provides: virt-firmware
Conflicts: python3-virt-firmware-peutils < 23.9
Obsoletes: python3-virt-firmware-peutils < 23.9
Requires: python3dist(cryptography) Requires: python3dist(cryptography)
Requires: python3dist(setuptools) Requires: python3dist(setuptools)
Requires: python3dist(pefile) Requires: python3dist(pefile)
@ -47,8 +49,7 @@ test cases
Provides: ukidirect Provides: ukidirect
Summary: %{summary} - manage UKI kernels. Summary: %{summary} - manage UKI kernels.
Requires: python3-virt-firmware Requires: python3-virt-firmware
Conflicts: systemd < 252-21 Conflicts: systemd < 254
Obsoletes: rhel-cvm-update-tool
%description -n uki-direct %description -n uki-direct
kernel-install plugin and systemd unit to manage automatic kernel-install plugin and systemd unit to manage automatic
UKI (unified kernel image) updates. UKI (unified kernel image) updates.
@ -112,82 +113,4 @@ install -m 755 systemd/99-uki-uefi-setup.install %{buildroot}%{_libdir}/kernel/i
%{_libdir}/kernel/install.d/99-uki-uefi-setup.install %{_libdir}/kernel/install.d/99-uki-uefi-setup.install
%changelog %changelog
* Thu Jul 11 2024 Gerd Hoffmann <kraxel@redhat.com> - 24.7-1 %autochangelog
- update to version 24.7
* Mon Apr 15 2024 Gerd Hoffmann <kraxel@redhat.com> - 24.4-1
- update to version 24.4
* Fri Feb 16 2024 Gerd Hoffmann <kraxel@redhat.com> - 24.2-1
- update to version 24.2
* Thu Jan 11 2024 Gerd Hoffmann <kraxel@redhat.com> - 24.1.1-1
- update to version 24.1.1
* Tue Jan 09 2024 Gerd Hoffmann <kraxel@redhat.com> - 24.1-1
- update to version 24.1
- Resolves: RHEL-21090
* Wed Jan 03 2024 Gerd Hoffmann <kraxel@redhat.com> - 23.11-3
- add "obsoletes: rhel-cvm-update-tool" to uki-direct
* Tue Jan 02 2024 Gerd Hoffmann <kraxel@redhat.com> - 23.11-2
- add uki-direct subpackage
- Resolves: RHEL-19383
* Wed Dec 13 2023 Gerd Hoffmann <kraxel@redhat.com> - 23.11-1
- update to version 23.11
* Thu Oct 12 2023 Gerd Hoffmann <kraxel@redhat.com> - 23.10-2
- drop uki-direct subpackage for now (wait for systemd update)
* Wed Oct 11 2023 Gerd Hoffmann <kraxel@redhat.com> - 23.10-1
- update to version 23.10
- add uki-direct subpackage
* Tue Jun 27 2023 Gerd Hoffmann <kraxel@redhat.com> - 23.6-2
- drop -peutils subpackage
* Tue Jun 20 2023 Gerd Hoffmann <kraxel@redhat.com> - 23.6-1
- update to version 23.6
- resolves: rhbz#2216102
* Thu May 04 2023 Gerd Hoffmann <kraxel@redhat.com> - 23.5-1
- update to version 23.5
- resolves: rhbz#2193089
* Fri Apr 14 2023 Gerd Hoffmann <kraxel@redhat.com> - 23.4-1
- update to version 23.4
- resolves: rhbz#2186770
- resolves: rhbz#2143566
* Tue Nov 15 2022 Gerd Hoffmann <kraxel@redhat.com> - 1.6-2
- add tests.yml
* Mon Nov 14 2022 Gerd Hoffmann <kraxel@redhat.com> - 1.6-1
- update to version 1.6
- drop peutils
- add man-pages
- add tests sub-package
- resolves: rhbz#2142608
* 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-24.11.tar.gz) = 0c6b4d34d518835b4489404c784b263cd6ac8348834ba654d27ae3741d3d229ea5f6036870399390fa4fa33e01c8113d64faba0c6068e4b2fb5bbdd9429bf72f

18
tests/tests.yml Normal file
View File

@ -0,0 +1,18 @@
- hosts: localhost
roles:
- role: standard-test-basic
tags:
- classic
tests:
- virt-fw-dump:
run: /usr/share/python-virt-firmware/tests/test-dump.sh
- virt-fw-vars:
run: /usr/share/python-virt-firmware/tests/test-vars.sh
- virt-fw-sigdb:
run: /usr/share/python-virt-firmware/tests/test-sigdb.sh
- virt-pe-utils:
run: /usr/share/python-virt-firmware/tests/test-pe.sh
- kernel-bootcfg:
run: /usr/share/python-virt-firmware/tests/test-bootcfg.sh
- python-unittest:
run: python3 /usr/share/python-virt-firmware/tests/tests.py