rpms/ftp/F-8 netkit-ftp-0.17-bitrate.patch, NONE, 1.1 ftp.spec, 1.41, 1.42

Marcela Mašláňová (mmaslano) fedora-extras-commits at redhat.com
Mon Jan 28 11:39:27 UTC 2008


Author: mmaslano

Update of /cvs/pkgs/rpms/ftp/F-8
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv30252

Modified Files:
	ftp.spec 
Added Files:
	netkit-ftp-0.17-bitrate.patch 
Log Message:
- changed bitrate from 1e+03 KBytes/sec to 1000 kBytes/sec
- Resolves: rhbz#430457



netkit-ftp-0.17-bitrate.patch:

--- NEW FILE netkit-ftp-0.17-bitrate.patch ---
diff -up netkit-ftp-0.17/ftp/ftp.c.old netkit-ftp-0.17/ftp/ftp.c
--- netkit-ftp-0.17/ftp/ftp.c.old	2008-01-28 10:23:17.000000000 +0100
+++ netkit-ftp-0.17/ftp/ftp.c	2008-01-28 10:32:01.000000000 +0100
@@ -1609,8 +1609,8 @@ ptransfer(const char *direction, long lo
 		s = td.tv_sec + (td.tv_usec / 1000000.);
 #define	nz(x)	((x) == 0 ? 1 : (x))
 		bs = bytes / nz(s);
-		printf("%lld bytes %s in %.3g secs (%.2g Kbytes/sec)\n",
-		    bytes, direction, s, bs / 1024.0);
+		printf("%lld bytes %s in %.3g secs (%.2f Kbytes/sec)\n",
+		    bytes, direction, s, bs / 1000.0);
 	}
 }
 


Index: ftp.spec
===================================================================
RCS file: /cvs/pkgs/rpms/ftp/F-8/ftp.spec,v
retrieving revision 1.41
retrieving revision 1.42
diff -u -r1.41 -r1.42
--- ftp.spec	24 Aug 2007 07:10:45 -0000	1.41
+++ ftp.spec	28 Jan 2008 11:38:51 -0000	1.42
@@ -1,7 +1,7 @@
 Summary: The standard UNIX FTP (File Transfer Protocol) client
 Name: ftp
 Version: 0.17
-Release: 42%{?dist}
+Release: 43%{?dist}
 License: BSD with advertising
 Group: Applications/Internet
 Source0: ftp://ftp.uk.linux.org/pub/linux/Networking/netkit/netkit-ftp-%{version}.tar.gz
@@ -24,6 +24,7 @@
 Patch16: netkit-ftp-0.17-nodebug.patch
 Patch17: netkit-ftp-0.17-stamp.patch
 Patch18: netkit-ftp-0.17-sigseg.patch
+Patch19: netkit-ftp-0.17-bitrate.patch
 
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildRequires: glibc-devel, readline-devel, ncurses-devel
@@ -56,6 +57,7 @@
 %patch16 -p1 -b .nodebug
 %patch17 -p1 -b .stamp
 %patch18 -p1 -b .sigseg
+%patch19 -p1 -b .bitrate
 
 %build
 sh configure --with-c-compiler=gcc --enable-ipv6
@@ -89,6 +91,10 @@
 %{_mandir}/man5/netrc.*
 
 %changelog
+* Mon Jan 28 2008 Marcela Maslanova <mmaslano at redhat.com> - 0.17-43
+- changed bitrate from 1e+03 KBytes/sec to 1000 kBytes/sec
+- Resolves: rhbz#430457
+
 * Fri Aug 24 2007 Marcela Maslanova <mmaslano at redhat.com> - 0.17-42
 - rebuilt (for mass rebuild)
 - license tag checked




More information about the fedora-extras-commits mailing list