- release 5: use new rpm automation. ftpd-BSD-0_3_2-5
authorkloczek <kloczek@pld-linux.org>
Wed, 18 Oct 2000 21:14:51 +0000 (21:14 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    ftpd-BSD.spec -> 1.24

ftpd-BSD.spec

index 9ad89e0530c26898f0cb27513265b16563071901..4442b7d34cebd51ef93484d892656925150f22da 100644 (file)
@@ -2,7 +2,7 @@ Summary:        OpenBSD's ftpd ported to Linux (with IPv6 support)
 Summary(pl):   Port ftpd z OpenBSD dla Linuxa (z wsparciem do IPv6)
 Name:          ftpd-BSD
 Version:       0.3.2
-Release:       4
+Release:       5
 License:       BSD-like
 Group:         Networking/Daemons
 Group(de):     Netzwerkwesen/Server
@@ -49,7 +49,7 @@ wersji ftpd to 6.4, za
 %patch1 -p1
 
 %build
-%{__make} -C ftpd OPT_CFLAGS="$RPM_OPT_FLAGS"
+%{__make} -C ftpd OPT_CFLAGS="%{!?debug:$RPM_OPT_FLAGS}%{?debug:-O -g}"
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -57,13 +57,13 @@ install -d $RPM_BUILD_ROOT{%{_sbindir},%{_mandir}/man8} \
        $RPM_BUILD_ROOT%{_sysconfdir}/{ftpd,pam.d,sysconfig/rc-inetd} \
        $RPM_BUILD_ROOT/home/ftp/{upload,pub}
 
-install -s ftpd/ftpd $RPM_BUILD_ROOT%{_sbindir}/ftpd-BSD
+install ftpd/ftpd $RPM_BUILD_ROOT%{_sbindir}/ftpd-BSD
 install ftpd/ftpd.8 $RPM_BUILD_ROOT%{_mandir}/man8/
 install %{SOURCE1} $RPM_BUILD_ROOT/etc/sysconfig/rc-inetd/ftpd
 install %{SOURCE2} $RPM_BUILD_ROOT/etc/pam.d/ftp
 install %{SOURCE3} $RPM_BUILD_ROOT%{_sysconfdir}/ftpd/ftpusers
 
-gzip -9nf README $RPM_BUILD_ROOT%{_mandir}/man8/*
+gzip -9nf README
 
 %post
 if [ -f /var/lock/subsys/rc-inetd ]; then
This page took 0.029052 seconds and 4 git commands to generate.