SHA256
1
0
forked from pool/virt-v2v

Accepting request 890944 from Virtualization

Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/890944
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/virt-v2v?expand=0&rev=2
This commit is contained in:
Dominique Leuenberger 2021-05-06 20:52:48 +00:00 committed by Git OBS Bridge
commit 08c6e03ddc
4 changed files with 98 additions and 99 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:c3c59786b98059c47ad679cbb342d11b099e3bcef9d646738f9c5079660464bb
size 5115130

3
virt-v2v-1.43.5.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:82f69f7b2f6c23def8c92ac3c75bee03a00dc2f90c2b261660f8b859f0fd446d
size 3816915

View File

@ -1,3 +1,12 @@
-------------------------------------------------------------------
Thu Apr 29 09:37:35 UTC 2021 - Predrag Ivanović <predivan@mts.rs>
- Update to version 1.43.5
* No upstream provided Changelog
- Package changes
* Switch BuildRequires pcre-devel to pcre2-devel
* Ran spec-cleaner
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Feb 10 22:47:57 UTC 2021 - Jan Engelhardt <jengelh@inai.de> Wed Feb 10 22:47:57 UTC 2021 - Jan Engelhardt <jengelh@inai.de>
@ -11,6 +20,12 @@ Thu Jan 28 15:20:40 MST 2021 - carnold@suse.com
* Many upstream bug fixes * Many upstream bug fixes
* Language file fixes and updates * Language file fixes and updates
-------------------------------------------------------------------
Thu Dec 3 12:41:55 UTC 2020 - Predrag Ivanović <predivan@mts.rs>
- Update to version 1.43.2
* No upstream provided Changelog.
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Oct 1 07:16:12 UTC 2020 - Predrag Ivanović <predivan@mts.rs> Thu Oct 1 07:16:12 UTC 2020 - Predrag Ivanović <predivan@mts.rs>

View File

@ -12,59 +12,38 @@
# license that conforms to the Open Source Definition (Version 1.9) # license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative. # published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/ # Please submit bugfixes or comments via https://bugs.opensuse.org/
# #
# needsbinariesforbuild # needsbinariesforbuild
# If there are patches which touch autotools files, set this to 1. # If there are patches which touch autotools files, set this to 1.
%global patches_touch_autotools %{nil} %global patches_touch_autotools %{nil}
# The source directory. # The source directory.
%global source_directory 1.43-development %global source_directory 1.43-development
Name: virt-v2v Name: virt-v2v
Version: 1.43.3 Version: 1.43.5
Release: 1 Release: 0
Summary: Tools to convert a virtual machine to run on KVM Summary: Tools to convert a virtual machine to run on KVM
URL: https://github.com/libguestfs/virt-v2v License: GPL-2.0-or-later
License: GPL-2.0+
Group: System/Management Group: System/Management
URL: https://github.com/libguestfs/virt-v2v
Source0: http://download.libguestfs.org/virt-v2v/%{source_directory}/%{name}-%{version}.tar.gz Source0: http://download.libguestfs.org/virt-v2v/%{source_directory}/%{name}-%{version}.tar.gz
BuildRequires: augeas-devel
# libguestfs hasn't been built on i686 for a while since there is no BuildRequires: file-devel
# kernel built for this architecture any longer and libguestfs rather
# fundamentally depends on the kernel. Therefore we must exclude this
# arch. Note there is no bug filed for this because we do not ever
# expect that libguestfs or virt-v2v will be available on i686 so
# there is nothing that needs fixing.
ExcludeArch: %{ix86}
%if 0%{patches_touch_autotools}
BuildRequires: autoconf, automake, libtool
%endif
#BuildRequires: /usr/bin/pod2man #BuildRequires: /usr/bin/pod2man
BuildRequires: gcc BuildRequires: gcc
BuildRequires: ocaml >= 4.01
BuildRequires: libguestfs-devel >= 1.42
BuildRequires: augeas-devel
BuildRequires: pkgconfig(bash-completion) >= 2.0
BuildRequires: file-devel
BuildRequires: gettext-devel BuildRequires: gettext-devel
BuildRequires: glib2-devel BuildRequires: glib2-devel
BuildRequires: libguestfs-devel >= 1.42
BuildRequires: libjansson-devel BuildRequires: libjansson-devel
BuildRequires: libosinfo-devel BuildRequires: libosinfo-devel
BuildRequires: libvirt-devel BuildRequires: libvirt-devel
BuildRequires: libxml2-devel BuildRequires: libxml2-devel
BuildRequires: mkisofs BuildRequires: mkisofs
BuildRequires: pcre-devel BuildRequires: ocaml >= 4.01
BuildRequires: perl(Sys::Guestfs)
BuildRequires: po4a
BuildRequires: ocaml-findlib-devel
BuildRequires: ocaml-fileutils-devel BuildRequires: ocaml-fileutils-devel
BuildRequires: ocaml-findlib-devel
BuildRequires: ocaml-gettext-devel BuildRequires: ocaml-gettext-devel
BuildRequires: ocaml-gettext-stub-devel BuildRequires: ocaml-gettext-stub-devel
BuildRequires: ocaml-hivex-devel BuildRequires: ocaml-hivex-devel
@ -72,22 +51,35 @@ BuildRequires: ocaml-libguestfs
BuildRequires: ocaml-libguestfs-devel BuildRequires: ocaml-libguestfs-devel
BuildRequires: ocaml-libvirt-devel BuildRequires: ocaml-libvirt-devel
BuildRequires: ocaml-ounit-devel BuildRequires: ocaml-ounit-devel
BuildRequires: pcre2-devel
BuildRequires: pkgconfig
Requires: libguestfs0%{?_isa} >= 1.42 BuildRequires: po4a
Requires: guestfs-tools >= 1.42 BuildRequires: perl(Sys::Guestfs)
Requires: /usr/bin/gawk BuildRequires: pkgconfig(bash-completion) >= 2.0
Requires: /usr/bin/gzip Requires: %{_bindir}/gawk
Requires: unzip Requires: %{_bindir}/gzip
Requires: %{_bindir}/virsh
Requires: curl Requires: curl
Requires: /usr/bin/virsh Requires: guestfs-tools >= 1.42
Requires: libguestfs0%{?_isa} >= 1.42
Requires: unzip
Recommends: nbdkit Recommends: nbdkit
Recommends: nbdkit-curl-plugin Recommends: nbdkit-curl-plugin
Recommends: nbdkit-python-plugin Recommends: nbdkit-python-plugin
Recommends: nbdkit-ssh-plugin Recommends: nbdkit-ssh-plugin
Recommends: nbdkit-vddk-plugin Recommends: nbdkit-vddk-plugin
# libguestfs hasn't been built on i686 for a while since there is no
# kernel built for this architecture any longer and libguestfs rather
# fundamentally depends on the kernel. Therefore we must exclude this
# arch. Note there is no bug filed for this because we do not ever
# expect that libguestfs or virt-v2v will be available on i686 so
# there is nothing that needs fixing.
ExcludeArch: %{ix86}
%if 0%{patches_touch_autotools}
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: libtool
%endif
%description %description
Virt-v2v converts a single guest from a foreign hypervisor to run on Virt-v2v converts a single guest from a foreign hypervisor to run on
@ -97,57 +89,53 @@ libvirt, OpenStack, oVirt, Red Hat Virtualisation (RHV) or several
other targets. It can modify the guest to make it bootable on KVM and other targets. It can modify the guest to make it bootable on KVM and
install virtio drivers so it will run quickly. install virtio drivers so it will run quickly.
%package bash-completion %package bash-completion
Summary: Bash tab-completion for %{name} Summary: Bash tab-completion for %{name}
BuildArch: noarch Group: System/Management
Requires: bash-completion >= 2.0
Requires: %{name} = %{version}-%{release} Requires: %{name} = %{version}-%{release}
Requires: bash-completion >= 2.0
Supplements: (%{name} and bash-completion) Supplements: (%{name} and bash-completion)
BuildArch: noarch
%description bash-completion %description bash-completion
Install this package if you want intelligent bash tab-completion Install this package if you want intelligent bash tab-completion
for %{name}. for %{name}.
%package man-pages-ja %package man-pages-ja
Summary: Japanese (ja) man pages for %{name} Summary: Japanese (ja) man pages for %{name}
BuildArch: noarch Group: System/Management
Requires: %{name} = %{version}-%{release} Requires: %{name} = %{version}-%{release}
BuildArch: noarch
%description man-pages-ja %description man-pages-ja
%{name}-man-pages-ja contains Japanese (ja) man pages %{name}-man-pages-ja contains Japanese (ja) man pages
for %{name}. for %{name}.
%package man-pages-uk %package man-pages-uk
Summary: Ukrainian (uk) man pages for %{name} Summary: Ukrainian (uk) man pages for %{name}
BuildArch: noarch Group: System/Management
Requires: %{name} = %{version}-%{release} Requires: %{name} = %{version}-%{release}
BuildArch: noarch
%description man-pages-uk %description man-pages-uk
%{name}-man-pages-uk contains Ukrainian (uk) man pages %{name}-man-pages-uk contains Ukrainian (uk) man pages
for %{name}. for %{name}.
%prep %prep
%autosetup -p1 %autosetup -p1
%if 0%{patches_touch_autotools} %if 0%{patches_touch_autotools}
autoreconf -i autoreconf -i
%endif %endif
%build %build
%configure %configure
%make_build %make_build
%install %install
%make_install %make_install
# Delete libtool crap. # Delete libtool crap.
find %{buildroot} -name '*.la' -delete find %{buildroot} -type f -name "*.la" -delete -print
# Virt-tools data directory. This contains a symlink to rhsrvany.exe # Virt-tools data directory. This contains a symlink to rhsrvany.exe
# which is satisfied by the dependency on mingw32-srvany. # which is satisfied by the dependency on mingw32-srvany.
@ -160,7 +148,6 @@ rm -r %{buildroot}/%{_libdir}/ocaml/stublibs/dllv2v_test_harness*
# Find locale files. # Find locale files.
%find_lang %{name} %find_lang %{name}
%check %check
# All tests fail at the moment because of bugs in libvirt blockdev. # All tests fail at the moment because of bugs in libvirt blockdev.
# # Tests fail on both armv7 and ppc64le in Fedora 31 because the kernel # # Tests fail on both armv7 and ppc64le in Fedora 31 because the kernel
@ -188,32 +175,29 @@ rm -r %{buildroot}/%{_libdir}/ocaml/stublibs/dllv2v_test_harness*
# %endif # %endif
%files -f %{name}.lang %files -f %{name}.lang
%license COPYING %license COPYING
#doc README #doc README
%{_bindir}/virt-v2v %{_bindir}/virt-v2v
%{_bindir}/virt-v2v-copy-to-local %{_bindir}/virt-v2v-copy-to-local
%{_mandir}/man1/virt-v2v.1* %{_mandir}/man1/virt-v2v.1%{?ext_man}
%{_mandir}/man1/virt-v2v-copy-to-local.1* %{_mandir}/man1/virt-v2v-copy-to-local.1%{?ext_man}
%{_mandir}/man1/virt-v2v-hacking.1* %{_mandir}/man1/virt-v2v-hacking.1%{?ext_man}
%{_mandir}/man1/virt-v2v-input-vmware.1* %{_mandir}/man1/virt-v2v-input-vmware.1%{?ext_man}
%{_mandir}/man1/virt-v2v-input-xen.1* %{_mandir}/man1/virt-v2v-input-xen.1%{?ext_man}
%{_mandir}/man1/virt-v2v-output-local.1* %{_mandir}/man1/virt-v2v-output-local.1%{?ext_man}
%{_mandir}/man1/virt-v2v-output-openstack.1* %{_mandir}/man1/virt-v2v-output-openstack.1%{?ext_man}
%{_mandir}/man1/virt-v2v-output-rhv.1* %{_mandir}/man1/virt-v2v-output-rhv.1%{?ext_man}
%{_mandir}/man1/virt-v2v-release-notes-1.42* %{_mandir}/man1/virt-v2v-release-notes-1.42.1%{?ext_man}
%{_mandir}/man1/virt-v2v-support.1* %{_mandir}/man1/virt-v2v-support.1%{?ext_man}
%{_mandir}/man1/virt-v2v-test-harness.1* %{_mandir}/man1/virt-v2v-test-harness.1%{?ext_man}
%{_datadir}/virt-tools %{_datadir}/virt-tools
%files bash-completion %files bash-completion
%license COPYING %license COPYING
%{_datadir}/bash-completion/completions/virt-v2v %{_datadir}/bash-completion/completions/virt-v2v
%{_datadir}/bash-completion/completions/virt-v2v-copy-to-local %{_datadir}/bash-completion/completions/virt-v2v-copy-to-local
%files man-pages-ja %files man-pages-ja
%license COPYING %license COPYING
%lang(ja) %{_mandir}/ja/man1/*.1* %lang(ja) %{_mandir}/ja/man1/*.1*