X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=ganeti.spec;h=3e13eb7b13a892e901277f1666dc437c1306bc22;hb=72edee4c94667c3931cec2d2cff8200fc7213b08;hp=a96fe084c2241fff15254c8520c48bd1f0d5a819;hpb=3a27219c266b86bd861a80baf40b7e7ed17912a1;p=packages%2Fganeti.git diff --git a/ganeti.spec b/ganeti.spec index a96fe08..3e13eb7 100644 --- a/ganeti.spec +++ b/ganeti.spec @@ -1,11 +1,11 @@ Summary: Cluster-based virtualization management software Name: ganeti -Version: 2.8.1 -Release: 0.2 +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 @@ -13,6 +13,7 @@ Source4: %{name}-noded.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 @@ -55,7 +56,6 @@ Requires(post,preun): /sbin/chkconfig 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 @@ -63,6 +63,7 @@ Requires: openssh-clients Requires: openssh-server Requires: python Requires: python-affinity +Requires: python-bitarray Requires: python-devel Requires: python-distribute Requires: python-ipaddr @@ -131,7 +132,7 @@ bash-completion for ganeti. --enable-confd=python \ --enable-socat-escape \ --with-ssh-initscript=/etc/rc.d/init.d/sshd \ - --with-ssh-config-dir=/stc/ssh \ + --with-ssh-config-dir=/etc/ssh \ --with-xen-cmd=xl \ --with-kvm-path=/usr/bin/qemu-kvm @@ -157,9 +158,10 @@ install -p %{SOURCE7} $RPM_BUILD_ROOT/etc/rc.d/init.d/ganeti-mond %{__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}