rpms/autodownloader/FC-6 autodownloader-0.2.0-timeout.patch, NONE, 1.1 autodownloader.spec, 1.1, 1.2

Hans de Goede (jwrdegoede) fedora-extras-commits at redhat.com
Wed May 16 20:14:42 UTC 2007


Author: jwrdegoede

Update of /cvs/extras/rpms/autodownloader/FC-6
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv4709

Modified Files:
	autodownloader.spec 
Added Files:
	autodownloader-0.2.0-timeout.patch 
Log Message:
* Wed May 16 2007 Hans de Goede <j.w.r.degoede at hhs.nl> 0.2.0-2
- Make the timeout for stalled mirror detection larger, this fixes the use of
  autodownloader for those with slow links


autodownloader-0.2.0-timeout.patch:

--- NEW FILE autodownloader-0.2.0-timeout.patch ---
--- autodownloader-0.2.0/AutoDL.py~	2007-05-16 19:23:48.000000000 +0200
+++ autodownloader-0.2.0/AutoDL.py	2007-05-16 19:23:48.000000000 +0200
@@ -215,7 +215,7 @@
 		self.next_mirror = False
 		self.mirror_count = 0
 		self.mirror_total = 0
-		socket.setdefaulttimeout(5)
+		socket.setdefaulttimeout(20)
 
 	def stop_downloader(self):
 		self.abort_download = True


Index: autodownloader.spec
===================================================================
RCS file: /cvs/extras/rpms/autodownloader/FC-6/autodownloader.spec,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- autodownloader.spec	4 May 2007 10:03:37 -0000	1.1
+++ autodownloader.spec	16 May 2007 20:14:05 -0000	1.2
@@ -1,11 +1,12 @@
 Name:           autodownloader
 Version:        0.2.0
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        GUI-tool to automate the download of certain files
 License:        GPL
 Group:          Applications/Internet
 URL:            http://sourceforge.net/projects/autodownloader
 Source0:        http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
+Patch0:         autodownloader-0.2.0-timeout.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildArch:      noarch
 Requires:       pygtk2-libglade
@@ -28,6 +29,7 @@
 
 %prep
 %setup -q
+%patch0 -p1
 
 
 %build
@@ -50,5 +52,9 @@
 
 
 %changelog
+* Wed May 16 2007 Hans de Goede <j.w.r.degoede at hhs.nl> 0.2.0-2
+- Make the timeout for stalled mirror detection larger, this fixes the use of
+  autodownloader for those with slow links
+
 * Sun Apr 29 2007 Hans de Goede <j.w.r.degoede at hhs.nl> 0.2.0-1
 - Initial Fedora Extras package




More information about the fedora-extras-commits mailing list