Update to version 0.6.1
This commit is contained in:
parent
3452ba381b
commit
492467a72b
@ -1 +1 @@
|
|||||||
virt-v2v-0.4.0.tar.gz
|
virt-v2v-v0.6.1.tar.gz
|
||||||
|
2
sources
2
sources
@ -1 +1 @@
|
|||||||
902efe037084773d48c3e4f0df29aff4 virt-v2v-0.4.0.tar.gz
|
8b9cc7d3d92cc4b69e973a9e686425df virt-v2v-v0.6.1.tar.gz
|
||||||
|
@ -1,14 +1,13 @@
|
|||||||
Name: virt-v2v
|
Name: virt-v2v
|
||||||
Version: 0.4.0
|
Version: 0.6.1
|
||||||
Release: 2%{?dist}
|
Release: 0%{?dist}
|
||||||
Summary: Convert a virtual machine to run on KVM
|
Summary: Convert a virtual machine to run on KVM
|
||||||
|
|
||||||
Group: Applications/System
|
Group: Applications/System
|
||||||
License: GPLv2+ and LGPLv2+
|
License: GPLv2+ and LGPLv2+
|
||||||
URL: http://people.redhat.com/mbooth/virt-v2v/
|
URL: http://git.fedoraproject.org/git/virt-v2v.git
|
||||||
Source0: http://people.redhat.com/mbooth/virt-v2v/%{name}-%{version}.tar.gz
|
Source0: https://fedorahosted.org/releases/v/i/virt-v2v/%{name}-v%{version}.tar.gz
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
BuildArch: noarch
|
|
||||||
|
|
||||||
# Build system direct requirements
|
# Build system direct requirements
|
||||||
BuildRequires: gettext
|
BuildRequires: gettext
|
||||||
@ -21,6 +20,7 @@ BuildRequires: perl(Test::Pod::Coverage)
|
|||||||
BuildRequires: perl(Module::Find)
|
BuildRequires: perl(Module::Find)
|
||||||
|
|
||||||
# Runtime perl modules also required at build time for use_ok test
|
# Runtime perl modules also required at build time for use_ok test
|
||||||
|
BuildRequires: perl(IO::String)
|
||||||
BuildRequires: perl(Locale::TextDomain)
|
BuildRequires: perl(Locale::TextDomain)
|
||||||
BuildRequires: perl(LWP::UserAgent)
|
BuildRequires: perl(LWP::UserAgent)
|
||||||
BuildRequires: perl(Module::Pluggable)
|
BuildRequires: perl(Module::Pluggable)
|
||||||
@ -28,59 +28,46 @@ BuildRequires: perl(Net::HTTPS)
|
|||||||
BuildRequires: perl(Net::SSL)
|
BuildRequires: perl(Net::SSL)
|
||||||
BuildRequires: perl(Sys::Guestfs)
|
BuildRequires: perl(Sys::Guestfs)
|
||||||
BuildRequires: perl(Sys::Guestfs::Lib)
|
BuildRequires: perl(Sys::Guestfs::Lib)
|
||||||
BuildRequires: perl(Sys::Virt)
|
|
||||||
BuildRequires: perl(URI)
|
BuildRequires: perl(URI)
|
||||||
BuildRequires: perl(XML::DOM)
|
BuildRequires: perl(XML::DOM)
|
||||||
BuildRequires: perl(XML::DOM::XPath)
|
BuildRequires: perl(XML::DOM::XPath)
|
||||||
BuildRequires: perl(XML::Writer)
|
BuildRequires: perl(XML::Writer)
|
||||||
|
|
||||||
# Need an explicit package dependency for version requires
|
# Need an explicit package dependency for version requires
|
||||||
BuildRequires: perl-libguestfs >= 1:1.0.84
|
BuildRequires: perl-libguestfs >= 1:1.2.7-1.el5.3
|
||||||
|
BuildRequires: perl-hivex >= 1.2.2
|
||||||
|
|
||||||
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
||||||
|
|
||||||
# Perl module requirements
|
|
||||||
Requires: perl(Locale::TextDomain)
|
|
||||||
Requires: perl(LWP::UserAgent)
|
|
||||||
Requires: perl(Module::Pluggable)
|
|
||||||
Requires: perl(Net::HTTPS)
|
|
||||||
Requires: perl(Net::SSL)
|
|
||||||
Requires: perl(Sys::Guestfs)
|
|
||||||
Requires: perl(Sys::Guestfs::Lib)
|
|
||||||
Requires: perl(Sys::Virt)
|
|
||||||
Requires: perl(URI)
|
|
||||||
Requires: perl(XML::DOM)
|
|
||||||
Requires: perl(XML::DOM::XPath)
|
|
||||||
Requires: perl(XML::Writer)
|
|
||||||
|
|
||||||
# Need an explicit package dependency for version requires
|
# Need an explicit package dependency for version requires
|
||||||
Requires: perl-libguestfs >= 1:1.0.68
|
Requires: perl-libguestfs >= 1:1.2.7-1.el5.3
|
||||||
|
Requires: perl-hivex >= 1.2.2
|
||||||
|
|
||||||
|
# Net::SSL is loaded dynamically by Net::HTTPS in Sys::VirtV2V::Transfer::ESX.
|
||||||
|
# The dependency isn't automatically discovered.
|
||||||
|
Requires: perl(Net::SSL)
|
||||||
|
|
||||||
|
# Need >= 0.8.1 for rpc fix talking to RHEL 5 libvirt
|
||||||
|
Requires: libvirt >= 0.8.1
|
||||||
|
|
||||||
# For GuestOS transfer image
|
# For GuestOS transfer image
|
||||||
Requires: /usr/bin/mkisofs
|
Requires: /usr/bin/mkisofs
|
||||||
|
|
||||||
# For v2v-snapshot
|
|
||||||
Requires: /usr/bin/qemu-img
|
|
||||||
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
virt-v2v is a tool for converting virtual machines to use the KVM hypervisor.
|
virt-v2v is a tool for converting and importing virtual machines to
|
||||||
It modifies both the virtual machine image and its associated libvirt metadata.
|
libvirt-managed KVM, or Red Hat Enterprise Virtualization. It can import a
|
||||||
virt-v2v will also configure a guest to use VirtIO drivers if possible.
|
variety of guest operating systems from libvirt-managed hosts and VMware ESX.
|
||||||
|
|
||||||
virt-v2v also includes the v2v-snapshot tool, which will modify a guest to use
|
|
||||||
snapshot storage, and later commit the snapshot back to the original storage if
|
|
||||||
desired.
|
|
||||||
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q -n %{name}-v%{version}
|
||||||
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%{__perl} Build.PL
|
%{__perl} Build.PL
|
||||||
./Build
|
./Build
|
||||||
|
|
||||||
|
# Perl doesn't need debuginfo
|
||||||
|
%define debug_package %{nil}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf $RPM_BUILD_ROOT
|
||||||
@ -90,10 +77,15 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
--install_path locale=%{_datadir}/locale \
|
--install_path locale=%{_datadir}/locale \
|
||||||
--install_path confdoc=%{_mandir}/man5
|
--install_path confdoc=%{_mandir}/man5
|
||||||
|
|
||||||
|
# Create lib directory, used for holding software to be installed in guests
|
||||||
|
statedir=$RPM_BUILD_ROOT%{_localstatedir}/lib/virt-v2v
|
||||||
|
mkdir -p $statedir/software
|
||||||
|
|
||||||
|
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}
|
||||||
|
cp v2v/virt-v2v.conf $RPM_BUILD_ROOT%{_sysconfdir}/
|
||||||
|
|
||||||
%find_lang %{name}
|
%find_lang %{name}
|
||||||
|
|
||||||
# Create v2v-snapshot directories
|
|
||||||
mkdir -p $RPM_BUILD_ROOT%{_localstatedir}/lib/virt-v2v/{snapshots,xml}
|
|
||||||
|
|
||||||
%check
|
%check
|
||||||
./Build test
|
./Build test
|
||||||
@ -106,11 +98,10 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%files -f %{name}.lang
|
%files -f %{name}.lang
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
|
|
||||||
%doc TODO
|
%doc TODO.txt
|
||||||
%doc META.yml
|
%doc META.yml
|
||||||
%doc ChangeLog
|
%doc ChangeLog
|
||||||
%doc COPYING COPYING.LIB
|
%doc COPYING COPYING.LIB
|
||||||
%doc v2v/virt-v2v.conf
|
|
||||||
|
|
||||||
# For noarch packages: vendorlib
|
# For noarch packages: vendorlib
|
||||||
%{perl_vendorlib}/*
|
%{perl_vendorlib}/*
|
||||||
@ -123,12 +114,16 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
# Executables
|
# Executables
|
||||||
%attr(0755,root,root) %{_bindir}/*
|
%attr(0755,root,root) %{_bindir}/*
|
||||||
|
|
||||||
%{_localstatedir}/lib/virt-v2v
|
%dir %{_localstatedir}/lib/virt-v2v
|
||||||
|
|
||||||
|
%config(noreplace) %{_sysconfdir}/virt-v2v.conf
|
||||||
|
%config(noreplace) %{_localstatedir}/lib/virt-v2v/software
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Wed Jun 02 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.4.0-2
|
* Mon Jun 21 2010 Matthew Booth <mbooth@redhat.com> - 0.6.1
|
||||||
- Mass rebuild with perl-5.12.0
|
- Update to release 0.6.1
|
||||||
|
- Disable building of debuginfo
|
||||||
|
|
||||||
* Mon Feb 22 2010 Matthew Booth <mbooth@redhat.com> - 0.4.0-1
|
* Mon Feb 22 2010 Matthew Booth <mbooth@redhat.com> - 0.4.0-1
|
||||||
- Update to release 0.4.0
|
- Update to release 0.4.0
|
||||||
@ -137,6 +132,9 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
- Add perl module dependencies: LWP::UserAgent, Net::HTTPS, Net::SSL, Net::URI
|
- Add perl module dependencies: LWP::UserAgent, Net::HTTPS, Net::SSL, Net::URI
|
||||||
- Remove perl module dependency: Config::Tiny
|
- Remove perl module dependency: Config::Tiny
|
||||||
- Add explicit build dependency on perl
|
- Add explicit build dependency on perl
|
||||||
|
- Add patch: virt-v2v-0.4.0-remove-fr.patch
|
||||||
|
- Add patch: virt-v2v-0.4.0-exechelper-cleanup.patch
|
||||||
|
- Add patch: virt-v2v-0.4.0-exechelper-tmpfile.patch
|
||||||
|
|
||||||
* Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 0.3.2-2
|
* Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 0.3.2-2
|
||||||
- rebuild against perl 5.10.1
|
- rebuild against perl 5.10.1
|
||||||
|
Loading…
Reference in New Issue
Block a user