]> git.pld-linux.org Git - packages/ganeti.git/blobdiff - ganeti.spec
- drbd-udev package has been removed, don't R it
[packages/ganeti.git] / ganeti.spec
index a96fe084c2241fff15254c8520c48bd1f0d5a819..94bad28cecd9a35e384d28390a023f2c47ae6da4 100644 (file)
@@ -1,7 +1,7 @@
 Summary:       Cluster-based virtualization management software
 Name:          ganeti
 Version:       2.8.1
-Release:       0.2
+Release:       0.4
 License:       GPL v2
 Group:         Applications/System
 Source0:       https://ganeti.googlecode.com/files/%{name}-%{version}.tar.gz
@@ -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}
This page took 0.083489 seconds and 4 git commands to generate.