Change spec, add patch.
This commit is contained in:
parent
beceefff69
commit
cd9534f618
9
ftp.spec
9
ftp.spec
@ -1,7 +1,7 @@
|
||||
Summary: The standard UNIX FTP (File Transfer Protocol) client.
|
||||
Name: ftp
|
||||
Version: 0.17
|
||||
Release: 33%{?dist}
|
||||
Release: 34%{?dist}
|
||||
License: BSD
|
||||
Group: Applications/Internet
|
||||
Source0: ftp://ftp.uk.linux.org/pub/linux/Networking/netkit-devel/netkit-ftp-%{version}.tar.bz2
|
||||
@ -20,10 +20,13 @@ Patch12: netkit-ftp-0.17-data.patch
|
||||
Patch13: netkit-ftp-0.17-multihome.patch
|
||||
Patch14: netkit-ftp-0.17-longnames.patch
|
||||
Patch15: netkit-ftp-0.17-multiipv6.patch
|
||||
Patch16: netkit-ftp-0.17-nodebug.patch
|
||||
|
||||
BuildRoot: /var/tmp/%{name}-root
|
||||
BuildRequires: gcc, glibc-devel, readline-devel, ncurses-devel, perl
|
||||
|
||||
%define debug_package %{nil}
|
||||
|
||||
%description
|
||||
The ftp package provides the standard UNIX command-line FTP (File
|
||||
Transfer Protocol) client. FTP is a widely used protocol for
|
||||
@ -49,6 +52,7 @@ file transfers.
|
||||
%patch13 -p1 -b .multihome
|
||||
%patch14 -p1 -b .patch
|
||||
%patch15 -p1 -b .multiipv6
|
||||
%patch16 -p1 -b .nodebug
|
||||
|
||||
%build
|
||||
sh configure --with-c-compiler=gcc --enable-ipv6
|
||||
@ -82,6 +86,9 @@ rm -rf ${RPM_BUILD_ROOT}
|
||||
%{_mandir}/man5/netrc.*
|
||||
|
||||
%changelog
|
||||
* Tue Jan 30 2007 Marcela Maslanova <mmaslano@redhat.com> - 0.17-34
|
||||
- nodebug package
|
||||
|
||||
* Wed Sep 13 2006 Marcela Maslanova <mmaslano@redhat.com> - 0.17-33
|
||||
- rebuilt
|
||||
|
||||
|
11
netkit-ftp-0.17-nodebug.patch
Normal file
11
netkit-ftp-0.17-nodebug.patch
Normal file
@ -0,0 +1,11 @@
|
||||
--- netkit-ftp-0.17/ftp/Makefile.nodebug 2006-11-14 15:02:36.000000000 +0100
|
||||
+++ netkit-ftp-0.17/ftp/Makefile 2007-01-30 13:58:15.000000000 +0100
|
||||
@@ -17,7 +17,7 @@
|
||||
|
||||
install: ftp
|
||||
install -d $(INSTALLROOT)$(BINDIR)
|
||||
- install -s -m$(BINMODE) ftp $(INSTALLROOT)$(BINDIR)
|
||||
+ install -m$(BINMODE) ftp $(INSTALLROOT)$(BINDIR)
|
||||
ln -sf ftp $(INSTALLROOT)$(BINDIR)/pftp
|
||||
install -d $(INSTALLROOT)$(MANDIR)/man1
|
||||
install -m$(MANMODE) ftp.1 $(INSTALLROOT)$(MANDIR)/man1
|
Loading…
Reference in New Issue
Block a user