Summary: Cluster-based virtualization management software
Name: ganeti
-Version: 2.8.1
-Release: 0.4
+Version: 2.9.3
+Release: 0.1
License: GPL v2
Group: Applications/System
-Source0: https://ganeti.googlecode.com/files/%{name}-%{version}.tar.gz
-# Source0-md5: ade147740c2f630e0cdbb14a70e9c3ef
+Source0: http://downloads.ganeti.org/releases/2.9/%{name}-%{version}.tar.gz
+# Source0-md5: 0542ca872bf2d57284359fcc8dc565ef
Source1: %{name}.tmpfiles
Source2: %{name}-confd.init
Source3: %{name}-masterd.init
Source5: %{name}-rapi.init
Source6: %{name}-luxid.init
Source7: %{name}-mond.init
+Source8: %{name}.sysconfig
Patch0: fix-no-kvm.patch
Patch1: systemd.patch
Patch2: daemon-util-use-service.patch
Requires(post,preun,postun): systemd-units >= 38
Requires: bridge-utils
Requires: drbdsetup >= 8.0.12
-Requires: drbd-udev
Requires: iproute2
Requires: iputils-arping
Requires: lvm2
%{__sed} -i -e 's|@LIBDIR@|%{_libdir}|g' $RPM_BUILD_ROOT/etc/rc.d/init.d/ganeti-*
+cp -p %{SOURCE8} $RPM_BUILD_ROOT/etc/sysconfig/ganeti
+
cp -p doc/examples/bash_completion $RPM_BUILD_ROOT/etc/bash_completion.d/ganeti
cp -p doc/examples/ganeti.cron $RPM_BUILD_ROOT/etc/cron.d/ganeti
-cp -p doc/examples/ganeti.default $RPM_BUILD_ROOT/etc/sysconfig/ganeti
cp -p doc/examples/ganeti.target $RPM_BUILD_ROOT%{systemdunitdir}
cp -p doc/examples/ganeti.target $RPM_BUILD_ROOT%{systemdunitdir}
cp -p doc/examples/ganeti-{noded,masterd,rapi,confd,luxid,mond}.service $RPM_BUILD_ROOT%{systemdunitdir}