rpms/deluge/devel deluge.spec, 1.6, 1.7 deluge-64bit-python_long.patch, 1.1, NONE

Peter Gordon (pgordon) fedora-extras-commits at redhat.com
Wed Mar 7 22:23:36 UTC 2007


Author: pgordon

Update of /cvs/extras/rpms/deluge/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv24317

Modified Files:
	deluge.spec 
Removed Files:
	deluge-64bit-python_long.patch 
Log Message:
Remove 64bit-python_long patch, as it seems to cause more trouble than it's worth.


Index: deluge.spec
===================================================================
RCS file: /cvs/extras/rpms/deluge/devel/deluge.spec,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- deluge.spec	7 Mar 2007 07:25:06 -0000	1.6
+++ deluge.spec	7 Mar 2007 22:23:03 -0000	1.7
@@ -3,7 +3,7 @@
 
 Name:		deluge
 Version:	0.4.99.1
-Release:	1%{?dist}
+Release:	2%{?dist}
 Summary:	A Python BitTorrent client with support for UPnP and DHT
 Group:		Applications/Editors
 License:	GPL
@@ -36,7 +36,6 @@
 
 %prep
 %setup -q
-%patch0 -p0 -b .64bit-python_long
 install -m 0755 %{SOURCE1} ./setup.py
 
 
@@ -45,7 +44,11 @@
 ## we need to ensure that it is properly inserted into the code as required.
 %{__sed} -i -e "s:INSTALL_PREFIX = '@datadir@':INSTALL_PREFIX = '%{_usr}':" \
 	src/dcommon.py
-CFLAGS="%{optflags}" %{__python} setup.py build
+%ifarch x86_64 ppc64 sparc64
+	CFLAGS="%{optflags} -DAMD64" %{__python} setup.py build
+%else
+	CFLAGS="%{optflags}" %{__python} setup.py build
+%endif
 
 
 %install
@@ -89,6 +92,13 @@
 
 
 %changelog
+* Wed Mar 07 2007 Peter Gordon <peter at thecodergeek.com> - 0.4.99.1-2
+- Drop unneeded 64bit-python_long patch; as it seems to cause more trouble than
+  it's worth. Instead, pass -DAMD64 as a compiler flag on 64-bit arches.
+  - 64bit-python_long patch
+  (This should fix the bug where, even though torrents are active, they are not
+  shown in the GtkTreeView listing.)
+
 * Tue Mar 06 2007 Peter Gordon <peter at thecodergeek.com> - 0.4.99.1-1
 - Update to new upstream release (0.5 RC1).
 - Use rewritten setup.py instead of patching it so much, since it's easier to


--- deluge-64bit-python_long.patch DELETED ---




More information about the fedora-extras-commits mailing list