rpms/python-twyt/F-11 python-twyt-0.9.2-setdefault.patch, NONE, 1.1 import.log, 1.3, 1.4 python-twyt.spec, 1.8, 1.9

Adam Miller maxamillion at fedoraproject.org
Thu Apr 16 20:05:11 UTC 2009


Author: maxamillion

Update of /cvs/extras/rpms/python-twyt/F-11
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv19554/F-11

Modified Files:
	import.log python-twyt.spec 
Added Files:
	python-twyt-0.9.2-setdefault.patch 
Log Message:
Upstream bugfix for set default account



python-twyt-0.9.2-setdefault.patch:

--- NEW FILE python-twyt-0.9.2-setdefault.patch ---
=== modified file 'twyt/commands.py'
--- twyt/commands.py	2009-04-08 19:50:38 +0000
+++ twyt/commands.py	2009-04-16 12:30:05 +0000
@@ -772,7 +772,7 @@
 		if options.password and options.user:
 			base.config.set_password(options.user, options.password)
 			if options.default:
-				base.config.set_default(options.user)
+				base.config.set_default_account(options.user)
 		elif options.user:
 			newacc = False
 			if not base.config.have_account(options.user):



Index: import.log
===================================================================
RCS file: /cvs/extras/rpms/python-twyt/F-11/import.log,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- import.log	13 Apr 2009 13:59:25 -0000	1.3
+++ import.log	16 Apr 2009 20:04:40 -0000	1.4
@@ -1,3 +1,4 @@
 python-twyt-0_9_0-1_fc8:HEAD:python-twyt-0.9.0-1.fc8.src.rpm:1231753051
 python-twyt-0_9_1-1_fc10:HEAD:python-twyt-0.9.1-1.fc10.src.rpm:1235768993
 python-twyt-0_9_2-1:HEAD:python-twyt-0.9.2-1.src.rpm:1239631084
+python-twyt-0_9_2-2:F-11:python-twyt-0.9.2-2.src.rpm:1239912251


Index: python-twyt.spec
===================================================================
RCS file: /cvs/extras/rpms/python-twyt/F-11/python-twyt.spec,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- python-twyt.spec	13 Apr 2009 13:59:25 -0000	1.8
+++ python-twyt.spec	16 Apr 2009 20:04:40 -0000	1.9
@@ -3,11 +3,14 @@
 Summary: An interface to Twitter API functions for Python
 Name: python-twyt
 Version: 0.9.2
-Release: 1%{?dist}
+Release: 2%{?dist}
+
 Group: System Environment/Libraries
 License: BSD
 URL: http://andrewprice.me.uk/projects/twyt/
 Source: http://andrewprice.me.uk/projects/twyt/download/twyt-%version.tar.gz
+Patch0: python-twyt-0.9.2-setdefault.patch
+
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildRequires: python
 BuildRequires: python-devel
@@ -24,6 +27,7 @@
 
 %prep
 %setup -q -n twyt-%{version}
+%patch0 -p0 -b .setdefault
 
 %build
 python setup.py build
@@ -47,6 +51,9 @@
 %endif
 
 %changelog
+* Thu Apr 16 2009 Adam Miller <maxamillion [AT] gmail.com> - 0.9.2-2
+- Upstream released a patch to fix set default account bug
+
 * Mon Apr 13 2009 Adam Miller <maxamillion [AT] gmail.com> - 0.9.2-1
 - New upstream release
 




More information about the scm-commits mailing list