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:
parent
2bfeccb23f
commit
31c4df59d4
19
ipvsadm.spec
19
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 <than@redhat.com>
|
||||
- add patch for building without installing kernel-sources in build system
|
||||
|
||||
* Thu Dec 30 2000 Wensong Zhang <wensong@linuxvirtualserver.org>
|
||||
- update the %file section
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user