auto-import changelog data from ipvsadm-1.18-8.src.rpm

Fri Aug 03 2001 Than Ngo <than@redhat.com>
- add patch for building without installing kernel-sources in build system
This commit is contained in:
cvsdist 2004-09-09 06:20:37 +00:00
parent 2bfeccb23f
commit 31c4df59d4

View File

@ -1,14 +1,14 @@
Summary: Utility to administer the Linux Virtual Server Summary: Utility to administer the Linux Virtual Server
Name: ipvsadm Name: ipvsadm
Version: 1.18 Version: 1.18
Release: 7 Release: 8
License: GNU General Public Licence License: GNU General Public Licence
URL: http://www.LinuxVirtualServer.org/ URL: http://www.LinuxVirtualServer.org/
Group: Applications/System Group: Applications/System
Source0: http://www.LinuxVirtualServer.org/software/ipvsadm-%{version}.tar.gz Source0: http://www.LinuxVirtualServer.org/software/ipvsadm-%{version}.tar.gz
Source1: ip_vs.h
Patch0: ipvsadm-1.18-rh.patch
BuildRoot: %{_tmppath}/%name-%{PACKAGE_VERSION}-root BuildRoot: %{_tmppath}/%name-%{PACKAGE_VERSION}-root
BuildRequires: kernel-source >= 2.4.6
Requires: kernel-source >= 2.4.6
Conflicts: piranha <= 0.4.14 Conflicts: piranha <= 0.4.14
@ -16,12 +16,12 @@ Conflicts: piranha <= 0.4.14
ipvsadm is a utility to administer the IP virtual server services ipvsadm is a utility to administer the IP virtual server services
offered by the Linux kernel augmented with the virtual server patch. offered by the Linux kernel augmented with the virtual server patch.
%prep %prep
%setup -n ipvsadm %setup -q -n ipvsadm
%patch -p1 -b .rh
%build %build
%{__cp} %{SOURCE1} ip_vs.h
CFLAGS="${RPM_OPT_FLAGS}" make CFLAGS="${RPM_OPT_FLAGS}" make
@ -36,13 +36,9 @@ make DESTDIR=$RPM_BUILD_ROOT install
%preun %preun
/sbin/chkconfig --del ipvsadm /sbin/chkconfig --del ipvsadm
%clean %clean
rm -rf $RPM_BUILD_DIR/%{name}
rm -rf $RPM_BUILD_ROOT rm -rf $RPM_BUILD_ROOT
%files %files
%defattr(-,root,root) %defattr(-,root,root)
%doc README %doc README
@ -52,6 +48,9 @@ rm -rf $RPM_BUILD_ROOT
%changelog %changelog
* Fri Aug 3 2001 Than Ngo <than@redhat.com>
- add patch for building without installing kernel-sources in build system
* Thu Dec 30 2000 Wensong Zhang <wensong@linuxvirtualserver.org> * Thu Dec 30 2000 Wensong Zhang <wensong@linuxvirtualserver.org>
- update the %file section - update the %file section