diff --git a/ipvsadm.spec b/ipvsadm.spec index c56f0e5..de2e454 100644 --- a/ipvsadm.spec +++ b/ipvsadm.spec @@ -14,6 +14,7 @@ Buildrequires: libnl-devel Buildrequires: popt-devel Requires(post): /sbin/chkconfig Requires(preun): /sbin/chkconfig +Conflicts: filesystem < 3 %description ipvsadm is a utility to administer the IP Virtual Server services @@ -33,7 +34,7 @@ CFLAGS="%{optflags}" make %install rm -rf %{buildroot} mkdir -p %{buildroot}/etc/rc.d/init.d -make install BUILD_ROOT=%{buildroot} MANDIR=%{_mandir} +make install BUILD_ROOT=%{buildroot} MANDIR=%{_mandir} SBIN=%{buildroot}%{_sbindir} # Overwrite the provided init script with our flexible and LSB compliant one install -p -m 0755 %{SOURCE1} %{buildroot}/etc/rc.d/init.d/ipvsadm # Install config file which controls the service behavior @@ -58,9 +59,9 @@ fi %doc README /etc/rc.d/init.d/ipvsadm %config(noreplace) /etc/sysconfig/ipvsadm-config -/sbin/ipvsadm -/sbin/ipvsadm-restore -/sbin/ipvsadm-save +%{_sbindir}/ipvsadm +%{_sbindir}/ipvsadm-restore +%{_sbindir}/ipvsadm-save %{_mandir}/man8/ipvsadm.8* %{_mandir}/man8/ipvsadm-restore.8* %{_mandir}/man8/ipvsadm-save.8*