Compare commits
14 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e77180cf3f | ||
|
|
3d8c0f5167 | ||
|
|
721c5fd8cf | ||
|
|
76ca9ab2f9 | ||
|
|
582c1d6e2b | ||
|
|
295a500410 | ||
|
|
9cd8e5a7f2 | ||
|
|
4edbdad985 | ||
|
|
c8b68f380d | ||
|
|
034f1f8a80 | ||
|
|
1e9ea13847 | ||
|
|
6eff731b16 | ||
|
|
c80321a700 | ||
|
|
3dbfbb456a |
6 changed files with 83 additions and 7 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -1,2 +1,3 @@
|
|||
*~
|
||||
/virt-p2v-*.tar.gz
|
||||
/virt-p2v-*.tar.gz.sig
|
||||
|
|
|
|||
6
gating.yaml
Executable file
6
gating.yaml
Executable 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}
|
||||
4
sources
4
sources
|
|
@ -1,2 +1,2 @@
|
|||
SHA512 (virt-p2v-1.42.2.tar.gz) = 5310c4b09bfbb4652ae73dadc3906d8fbc2f3183cc9b1e90fc5bd5e159469f4fb3d74a710cb76f2ec65c2a55c219cd7425c2eaa4993f0152dc19fde68cc2e5c4
|
||||
SHA512 (virt-p2v-1.42.2.tar.gz.sig) = b13c788bf71a75b1ed23262af33014f99e26f7b5462cdc14c1194347a7748975f92b4336a7757dd4e42269b975f26d9206c29e080b40ef190ce41671aef7a793
|
||||
SHA512 (virt-p2v-1.42.4.tar.gz) = 282c80c60cf220ad9cc69ceb52a2f22e3edab671ac96a6b1a2391b9c61fe195d05ed0849c582cc27613384d42e8088930026bb0b668727bc8a4036de67b2e74f
|
||||
SHA512 (virt-p2v-1.42.4.tar.gz.sig) = 0854a12d4aad55629997baf2a388fa2b4efe30fe5793055b3cb58a18f3d291f1dbbb765a9cc3ef85dad8233705e7885b1602e8b0fa59a437d28056dad6d19d6c
|
||||
|
|
|
|||
19
tests/basic-test.sh
Executable file
19
tests/basic-test.sh
Executable file
|
|
@ -0,0 +1,19 @@
|
|||
#!/bin/bash -
|
||||
set -e
|
||||
set -x
|
||||
|
||||
# This is a difficult package to test in gating because building the
|
||||
# virt-p2v ISO requires virt-builder, and even if we run it, it
|
||||
# doesn't prove anything useful. Doing a full P2V conversion is even
|
||||
# more difficult (and requires virt-v2v which we are unlikely to
|
||||
# have). So just check that the virt-p2v binary looks sane.
|
||||
tmpdir="$( mktemp -d )"
|
||||
cd "$tmpdir"
|
||||
xzcat /usr/lib64/virt-p2v/virt-p2v.xz > virt-p2v
|
||||
chmod +x virt-p2v
|
||||
./virt-p2v --version
|
||||
./virt-p2v --help
|
||||
./virt-p2v --long-options
|
||||
./virt-p2v --short-options
|
||||
cd
|
||||
rm -r "$tmpdir"
|
||||
19
tests/tests.yml
Executable file
19
tests/tests.yml
Executable file
|
|
@ -0,0 +1,19 @@
|
|||
- hosts: localhost
|
||||
roles:
|
||||
- role: standard-test-basic
|
||||
tags:
|
||||
- classic
|
||||
required_packages:
|
||||
- coreutils
|
||||
- virt-p2v
|
||||
# https://github.com/libguestfs/virt-p2v/blob/master/dependencies.m4
|
||||
# Only need the virt-p2v program dependencies.
|
||||
# There's no way that I'm aware of to build this list automatically.
|
||||
- dbus-libs
|
||||
- gtk3
|
||||
- libxml2
|
||||
- pcre2
|
||||
tests:
|
||||
- simple:
|
||||
dir: .
|
||||
run: ./basic-test.sh
|
||||
|
|
@ -9,9 +9,9 @@
|
|||
Summary: Convert a physical machine to run on KVM
|
||||
Name: virt-p2v
|
||||
Epoch: 1
|
||||
Version: 1.42.2
|
||||
Release: 1%{?dist}
|
||||
License: GPLv2+
|
||||
Version: 1.42.4
|
||||
Release: 3%{?dist}
|
||||
License: GPL-2.0-or-later AND LGPL-2.0-or-later
|
||||
|
||||
# virt-p2v works only on x86_64 at the moment. It requires porting
|
||||
# to properly detect the hardware on other architectures, and furthermore
|
||||
|
|
@ -39,7 +39,7 @@ BuildRequires: perl(List::MoreUtils)
|
|||
BuildRequires: /usr/bin/pod2text
|
||||
BuildRequires: libxml2-devel
|
||||
BuildRequires: pcre2-devel
|
||||
BuildRequires: bash-completion
|
||||
BuildRequires: bash-completion-devel
|
||||
BuildRequires: xz
|
||||
BuildRequires: gtk3-devel
|
||||
BuildRequires: dbus-devel
|
||||
|
|
@ -109,7 +109,7 @@ rm $RPM_BUILD_ROOT%{_mandir}/man1/p2v-release-notes.1*
|
|||
%{_bindir}/virt-p2v-make-disk
|
||||
%{_bindir}/virt-p2v-make-kickstart
|
||||
%{_bindir}/virt-p2v-make-kiwi
|
||||
%{_datadir}/bash-completion/completions/virt-*
|
||||
%{bash_completions_dir}/virt-*
|
||||
%{_datadir}/virt-p2v
|
||||
%{_libdir}/virt-p2v
|
||||
%{_mandir}/man1/virt-p2v-make-disk.1*
|
||||
|
|
@ -119,6 +119,37 @@ rm $RPM_BUILD_ROOT%{_mandir}/man1/p2v-release-notes.1*
|
|||
|
||||
|
||||
%changelog
|
||||
* Fri Jul 25 2025 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.42.4-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild
|
||||
|
||||
* Sun Jan 19 2025 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.42.4-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
|
||||
|
||||
* Tue Nov 05 2024 Richard W.M. Jones <rjones@redhat.com> - 1:1.42.4-1
|
||||
- New upstream version 1.42.4
|
||||
|
||||
* Sat Jul 20 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.42.3-7
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
|
||||
|
||||
* Mon Mar 25 2024 Richard W.M. Jones <rjones@redhat.com> - 1:1.42.3-6
|
||||
- Use %%{bash_completions_dir} macro
|
||||
- BR bash-completion-devel (new in Rawhide)
|
||||
|
||||
* Sat Jan 27 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.42.3-5
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||
|
||||
* Sat Jul 22 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.42.3-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
||||
|
||||
* Mon Jun 05 2023 Richard W.M. Jones <rjones@redhat.com> - 1:1.42.3-3
|
||||
- Migrated to SPDX license
|
||||
|
||||
* Sat Jan 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.42.3-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
||||
|
||||
* Tue Oct 11 2022 Richard W.M. Jones <rjones@redhat.com> - 1:1.42.3-1
|
||||
- New upstream release 1.42.3
|
||||
|
||||
* Wed Aug 03 2022 Richard W.M. Jones <rjones@redhat.com> - 1:1.42.2-1
|
||||
- New upstream release 1.42.2
|
||||
- Uses PCRE2 instead of PCRE.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue