[qbittorrent] - add upstream missing includes patch - update to 2.4.0beta2

Leigh Scott leigh123linux at fedoraproject.org
Thu Aug 19 21:54:07 UTC 2010


commit 27e9737ca4377596b55b591b669edf7c3157ae8e
Author: Leigh Scott <leigh123linux at googlemail.com>
Date:   Thu Aug 19 22:53:58 2010 +0100

    - add upstream missing includes patch
    - update to 2.4.0beta2

 .gitignore            |    1 +
 missing-include.patch |   12 ++++++++++++
 qbittorrent.spec      |   12 +++++++++---
 sources               |    2 +-
 4 files changed, 23 insertions(+), 4 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index f496386..b6e801f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
 qbittorrent-2.3.0.tar.gz
 qbittorrent-2.4.0beta1.tar.gz
+/qbittorrent-2.4.0beta2.tar.gz
diff --git a/missing-include.patch b/missing-include.patch
new file mode 100644
index 0000000..c0878c7
--- /dev/null
+++ b/missing-include.patch
@@ -0,0 +1,12 @@
+Index: qbittorrent-2.4.0~beta2/src/smtp.cpp
+===================================================================
+--- qbittorrent-2.4.0~beta2.orig/src/smtp.cpp	2010-08-19 22:24:06.710348997 +0200
++++ qbittorrent-2.4.0~beta2/src/smtp.cpp	2010-08-19 22:24:17.186348997 +0200
+@@ -12,6 +12,7 @@
+ 
+ #include <QTextStream>
+ #include <QTcpSocket>
++#include <QDebug>
+ 
+ Smtp::Smtp(const QString &from, const QString &to, const QString &subject, const QString &body) {
+   socket = new QTcpSocket(this);
diff --git a/qbittorrent.spec b/qbittorrent.spec
index 5331e77..e38c712 100644
--- a/qbittorrent.spec
+++ b/qbittorrent.spec
@@ -3,7 +3,7 @@
 Name:    qbittorrent
 Summary: A Bittorrent Client 
 Version: 2.4.0
-Release: 0.1.beta1%{?dist}
+Release: 0.2.beta2%{?dist}
 Epoch:   1
 # The source for this package was pulled from upstream's vcs.  Use the
 # following commands to generate the tarball:
@@ -12,12 +12,13 @@ Epoch:   1
 # tar -czvf qbittorrent-%{svn_rev}svn.tar.gz qbittorrent
 #Source0:  %{name}-%{svn_rev}svn.tar.gz
 #Source0: http://downloads.sf.net/qbittorrent/%{name}-%{version}.tar.gz
-Source0: http://downloads.sourceforge.net/project/qbittorrent/qbittorrent-unstable/%{name}-%{version}beta1.tar.gz
+Source0: http://downloads.sourceforge.net/project/qbittorrent/qbittorrent-unstable/%{name}-%{version}beta2.tar.gz
 Source1: qbittorrent-nox.README
 Patch0:  disable_extra_debug.patch
 Patch1:  qt_deprecated.patch
 
 # Upstream patches
+Patch2:  missing-include.patch
 
 URL: http://sourceforge.net/projects/qbittorrent
 Group: Applications/Internet
@@ -50,10 +51,11 @@ A Headless Bittorrent client using rb_libtorrent.
 It aims to be as fast as possible and to provide multi-OS, unicode support.
 
 %prep
-%setup -q -n %{name}-%{version}beta1
+%setup -q -n %{name}-%{version}beta2
 #%patch0 -p1 -b .disable_extra_debug
 %patch1 -p1 -b .qt_deprecated
 # Upstream patches
+%patch2 -p0 -b .missing-include
 
 cp -p %{SOURCE1} .
 
@@ -127,6 +129,10 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
 
 
 %changelog
+* Thu Aug 19 2010 Leigh Scott <leigh123linux at googlemail.com> - 2.4.0-0.2.beta2
+- add upstream missing includes patch
+- update to 2.4.0beta2
+
 * Tue Aug 17 2010 Leigh Scott <leigh123linux at googlemail.com> - 2.4.0-0.1.beta1
 - drop upstream patches
 - update to 2.4.0beta1
diff --git a/sources b/sources
index 3196c24..f432d5b 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-1942018d36e6920ec52a66b9a652fc6c  qbittorrent-2.4.0beta1.tar.gz
+df9019b234ae81c6e430abe6c776b238  qbittorrent-2.4.0beta2.tar.gz


More information about the scm-commits mailing list