From 31c4df59d422dc11409a8f11dfb9dd4974ac9ea9 Mon Sep 17 00:00:00 2001 From: cvsdist Date: Thu, 9 Sep 2004 06:20:37 +0000 Subject: [PATCH] auto-import changelog data from ipvsadm-1.18-8.src.rpm Fri Aug 03 2001 Than Ngo - add patch for building without installing kernel-sources in build system --- ipvsadm.spec | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/ipvsadm.spec b/ipvsadm.spec index 482d8f7..c579163 100644 --- a/ipvsadm.spec +++ b/ipvsadm.spec @@ -1,14 +1,14 @@ Summary: Utility to administer the Linux Virtual Server Name: ipvsadm Version: 1.18 -Release: 7 +Release: 8 License: GNU General Public Licence URL: http://www.LinuxVirtualServer.org/ Group: Applications/System 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 -BuildRequires: kernel-source >= 2.4.6 -Requires: kernel-source >= 2.4.6 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 offered by the Linux kernel augmented with the virtual server patch. - %prep -%setup -n ipvsadm - +%setup -q -n ipvsadm +%patch -p1 -b .rh %build +%{__cp} %{SOURCE1} ip_vs.h CFLAGS="${RPM_OPT_FLAGS}" make @@ -36,13 +36,9 @@ make DESTDIR=$RPM_BUILD_ROOT install %preun /sbin/chkconfig --del ipvsadm - - %clean -rm -rf $RPM_BUILD_DIR/%{name} rm -rf $RPM_BUILD_ROOT - %files %defattr(-,root,root) %doc README @@ -52,6 +48,9 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Fri Aug 3 2001 Than Ngo +- add patch for building without installing kernel-sources in build system + * Thu Dec 30 2000 Wensong Zhang - update the %file section