[gwibber] fix twitter oauth issues
Tom Callaway
spot at fedoraproject.org
Thu Jul 7 14:46:10 UTC 2011
commit b85e4048117e598e4c784f046c02f728748fbef8
Author: Tom "spot" Callaway <tcallawa at redhat.com>
Date: Thu Jul 7 10:45:58 2011 -0400
fix twitter oauth issues
gwibber-3.1.0-fix-twitter-oauth.patch | 14 ++++++++++++++
gwibber.spec | 11 ++++++++++-
2 files changed, 24 insertions(+), 1 deletions(-)
---
diff --git a/gwibber-3.1.0-fix-twitter-oauth.patch b/gwibber-3.1.0-fix-twitter-oauth.patch
new file mode 100644
index 0000000..d84088e
--- /dev/null
+++ b/gwibber-3.1.0-fix-twitter-oauth.patch
@@ -0,0 +1,14 @@
+diff -up gwibber-3.1.0/gwibber/microblog/util/const.py.twitterfix gwibber-3.1.0/gwibber/microblog/util/const.py
+--- gwibber-3.1.0/gwibber/microblog/util/const.py.twitterfix 2011-07-07 10:06:41.908539870 -0400
++++ gwibber-3.1.0/gwibber/microblog/util/const.py 2011-07-07 10:06:47.947435253 -0400
+@@ -12,8 +12,8 @@ if environ.has_key("FB_APP_KEY"):
+ else:
+ FB_APP_KEY = "1e51e9b88c054048dc201f81ea5543b7"
+
+-TWITTER_OAUTH_KEY = "VDOuA5qCJ1XhjaSa4pl76g"
+-TWITTER_OAUTH_SECRET = "BqHlB8sMz5FhZmmFimwgiIdB0RiBr72Y0bio49IVJM"
++TWITTER_OAUTH_KEY = "GDbYbywyvbcPfe26MqrifQ"
++TWITTER_OAUTH_SECRET = "U4C34CzUW6YYNFinX8RjSTsWWn2bWX08WVdFsxyQ"
+
+ SINA_OAUTH_KEY = "4014350411"
+ SINA_OAUTH_SECRET = "92e7877ad12d59a8410d850c19787701"
diff --git a/gwibber.spec b/gwibber.spec
index 6417766..aa65506 100644
--- a/gwibber.spec
+++ b/gwibber.spec
@@ -4,7 +4,7 @@
Name: gwibber
Version: 3.1.0
-Release: 1%{?dist}
+Release: 2%{?dist}
Epoch: 1
Summary: An open source microblogging client for GNOME developed with Python and GTK
Group: Applications/Internet
@@ -73,6 +73,9 @@ Patch47: gwibber-3.0.0.1-improve-about-dialog-handling.patch
# Catch sqlite errors (bz 702992 678015 699139 698074 700966)
Patch48: gwibber-3.0.0.1-sqlite-catch_error.patch
+# Overwrite default oauth key
+Patch49: gwibber-3.1.0-fix-twitter-oauth.patch
+
Requires: libsoup, python-pycurl
Requires: python
Requires: dbus-python >= 0.80.2
@@ -141,6 +144,9 @@ and GTK. It supports Twitter, Jaiku, Identi.ca, Facebook, and Digg.
# Catch sqlite errors (bz 702992 678015 699139 698074 700966)
%patch48 -p1 -b .catch_sqlite_error
+# Overwrite default oauth key for twitter
+%patch49 -p1
+
# sed -i -e '/^#! \?\//, 1d' $(find %{name} | grep "\.py$")
%build
@@ -193,6 +199,9 @@ cp -a build/mo %{buildroot}%{_datadir}/locale
%{_datadir}/indicators/messages/applications/gwibber
%changelog
+* Thu Jul 7 2011 Tom Callaway <spot at fedoraproject.org> - 1:3.1.0-2
+- really use our oauth key
+
* Tue Jun 14 2011 Tom Callaway <spot at fedoraproject.org> - 1:3.1.0-1
- update to 3.1.0
More information about the scm-commits
mailing list