auto-import ipvsadm-1.18-5 from ipvsadm-1.18-5.src.rpm
This commit is contained in:
parent
7e6466d30a
commit
511bad07a5
@ -1,7 +1,7 @@
|
||||
Summary: Utility to administer the Linux Virtual Server
|
||||
Name: ipvsadm
|
||||
Version: 1.18
|
||||
Release: 4
|
||||
Release: 5
|
||||
License: GNU General Public Licence
|
||||
URL: http://www.LinuxVirtualServer.org/
|
||||
Group: Applications/System
|
||||
@ -30,6 +30,13 @@ rm -rf $RPM_BUILD_ROOT
|
||||
mkdir -p ${RPM_BUILD_ROOT}/{sbin,%{_mandir}/man8,etc/rc.d/init.d}
|
||||
make DESTDIR=$RPM_BUILD_ROOT install
|
||||
|
||||
%post
|
||||
/sbin/chkconfig --add ipvsadm
|
||||
|
||||
%preun
|
||||
/sbin/chkconfig --del ipvsadm
|
||||
|
||||
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_DIR/%{name}
|
||||
|
Loading…
Reference in New Issue
Block a user