rpms/subdownloader/F-10 disable_updates.patch, NONE, 1.1 subdownloader.spec, 1.2, 1.3

Jan Klepek hpejakle at fedoraproject.org
Wed Nov 11 17:48:49 UTC 2009


Author: hpejakle

Update of /cvs/pkgs/rpms/subdownloader/F-10
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv9904/F-10

Modified Files:
	subdownloader.spec 
Added Files:
	disable_updates.patch 
Log Message:
disabled automatic updates

disable_updates.patch:
 main.py |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- NEW FILE disable_updates.patch ---
--- gui/main.py.old	2009-11-11 18:03:54.503318786 +0100
+++ gui/main.py	2009-11-11 18:06:25.942226828 +0100
@@ -278,7 +278,7 @@
             self.window.setCursor(Qt.WaitCursor)
             if self.establishServerConnection():# and self.OSDBServer.is_connected():
                 thread.start_new_thread(self.update_users, (300, )) #update the users counter every 5min
-                thread.start_new_thread(self.detect_software_updates, ())
+                #thread.start_new_thread(self.detect_software_updates, ())
                 if SHAREWARE:
                    if not self.software_registered:
                             thread.start_new_thread(self.getServerTime, ())


Index: subdownloader.spec
===================================================================
RCS file: /cvs/pkgs/rpms/subdownloader/F-10/subdownloader.spec,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -p -r1.2 -r1.3
--- subdownloader.spec	11 Nov 2009 16:18:39 -0000	1.2
+++ subdownloader.spec	11 Nov 2009 17:48:49 -0000	1.3
@@ -2,7 +2,7 @@
 
 Name:		subdownloader
 Version:	2.0.9.3
-Release:	2%{?dist}
+Release:	3%{?dist}
 Summary:	Program for download/upload subtitles for videofiles and DVDs
 
 Group:		Applications/Multimedia
@@ -12,6 +12,8 @@ URL:		http://www.subdownloader.net/
 Source0:	http://launchpad.net/%{name}/trunk/2.0.9/+download/%{name}-%{version}.tar.gz
 # subdownloader.xpm is taken from apt-get source subdownloader
 Source1:	subdownloader.xpm
+# disable automatic updates
+Patch0:		disable_updates.patch
 BuildRoot:	%(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
 BuildArch:	noarch
 BuildRequires:	gettext, desktop-file-utils
@@ -23,6 +25,7 @@ Program for automatic download/upload su
 
 %prep
 %setup -q -n %{name}
+%patch0 -p0
 rm -rf modules/mmpython
 sed -i 's/#\!\/usr\/bin\/env python//g' cli/*.py
 sed -i 's/#\!\/usr\/bin\/env python//g' languages/*.py
@@ -74,6 +77,9 @@ rm -rf $RPM_BUILD_ROOT
 %{_datadir}/pixmaps/%{name}.xpm
 
 %changelog
+* Wed Nov 11 2009 Jan Klepek <jan.klepek at, hp.com> - 2.0.9.3-3
+- disabled auto-update checks
+
 * Wed Oct 7 2009 Jan Klepek <jan.klepek at, hp.com> 2.0.9.3-2
 - fixed desktop file and locale handling
 




More information about the scm-commits mailing list