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,83 +12,75 @@
# 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.5
Version: 1.43.3 Release: 0
Release: 1 Summary: Tools to convert a virtual machine to run on KVM
Summary: Tools to convert a virtual machine to run on KVM License: GPL-2.0-or-later
URL: https://github.com/libguestfs/virt-v2v Group: System/Management
License: GPL-2.0+ URL: https://github.com/libguestfs/virt-v2v
Group: System/Management Source0: http://download.libguestfs.org/virt-v2v/%{source_directory}/%{name}-%{version}.tar.gz
BuildRequires: augeas-devel
Source0: http://download.libguestfs.org/virt-v2v/%{source_directory}/%{name}-%{version}.tar.gz BuildRequires: file-devel
#BuildRequires: /usr/bin/pod2man
BuildRequires: gcc
BuildRequires: gettext-devel
BuildRequires: glib2-devel
BuildRequires: libguestfs-devel >= 1.42
BuildRequires: libjansson-devel
BuildRequires: libosinfo-devel
BuildRequires: libvirt-devel
BuildRequires: libxml2-devel
BuildRequires: mkisofs
BuildRequires: ocaml >= 4.01
BuildRequires: ocaml-fileutils-devel
BuildRequires: ocaml-findlib-devel
BuildRequires: ocaml-gettext-devel
BuildRequires: ocaml-gettext-stub-devel
BuildRequires: ocaml-hivex-devel
BuildRequires: ocaml-libguestfs
BuildRequires: ocaml-libguestfs-devel
BuildRequires: ocaml-libvirt-devel
BuildRequires: ocaml-ounit-devel
BuildRequires: pcre2-devel
BuildRequires: pkgconfig
BuildRequires: po4a
BuildRequires: perl(Sys::Guestfs)
BuildRequires: pkgconfig(bash-completion) >= 2.0
Requires: %{_bindir}/gawk
Requires: %{_bindir}/gzip
Requires: %{_bindir}/virsh
Requires: curl
Requires: guestfs-tools >= 1.42
Requires: libguestfs0%{?_isa} >= 1.42
Requires: unzip
Recommends: nbdkit
Recommends: nbdkit-curl-plugin
Recommends: nbdkit-python-plugin
Recommends: nbdkit-ssh-plugin
Recommends: nbdkit-vddk-plugin
# libguestfs hasn't been built on i686 for a while since there is no # libguestfs hasn't been built on i686 for a while since there is no
# kernel built for this architecture any longer and libguestfs rather # kernel built for this architecture any longer and libguestfs rather
# fundamentally depends on the kernel. Therefore we must exclude this # fundamentally depends on the kernel. Therefore we must exclude this
# arch. Note there is no bug filed for this because we do not ever # 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 # expect that libguestfs or virt-v2v will be available on i686 so
# there is nothing that needs fixing. # there is nothing that needs fixing.
ExcludeArch: %{ix86} ExcludeArch: %{ix86}
%if 0%{patches_touch_autotools} %if 0%{patches_touch_autotools}
BuildRequires: autoconf, automake, libtool BuildRequires: autoconf
BuildRequires: automake
BuildRequires: libtool
%endif %endif
#BuildRequires: /usr/bin/pod2man
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: glib2-devel
BuildRequires: libjansson-devel
BuildRequires: libosinfo-devel
BuildRequires: libvirt-devel
BuildRequires: libxml2-devel
BuildRequires: mkisofs
BuildRequires: pcre-devel
BuildRequires: perl(Sys::Guestfs)
BuildRequires: po4a
BuildRequires: ocaml-findlib-devel
BuildRequires: ocaml-fileutils-devel
BuildRequires: ocaml-gettext-devel
BuildRequires: ocaml-gettext-stub-devel
BuildRequires: ocaml-hivex-devel
BuildRequires: ocaml-libguestfs
BuildRequires: ocaml-libguestfs-devel
BuildRequires: ocaml-libvirt-devel
BuildRequires: ocaml-ounit-devel
Requires: libguestfs0%{?_isa} >= 1.42
Requires: guestfs-tools >= 1.42
Requires: /usr/bin/gawk
Requires: /usr/bin/gzip
Requires: unzip
Requires: curl
Requires: /usr/bin/virsh
Recommends: nbdkit
Recommends: nbdkit-curl-plugin
Recommends: nbdkit-python-plugin
Recommends: nbdkit-ssh-plugin
Recommends: nbdkit-vddk-plugin
%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
KVM. It can read Linux and Windows guests running on VMware, Xen, KVM. It can read Linux and Windows guests running on VMware, Xen,
@ -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*
@ -223,7 +207,7 @@ rm -r %{buildroot}/%{_libdir}/ocaml/stublibs/dllv2v_test_harness*
%files man-pages-uk %files man-pages-uk
%license COPYING %license COPYING
%lang(uk) %{_mandir}/uk/man1/*.1* %lang(uk) %{_mandir}/uk/man1/*.1*
%dir %{_mandir}/uk %dir %{_mandir}/uk
%dir %{_mandir}/uk/man1/ %dir %{_mandir}/uk/man1/
%changelog %changelog