rpms/bittorrent/devel bittorrent-4.2.2-no-version-check.patch, NONE, 1.1 bittorrent.spec, 1.33, 1.34
Paul Howarth (pghmcfc)
fedora-extras-commits at redhat.com
Tue Dec 20 16:56:26 UTC 2005
Author: pghmcfc
Update of /cvs/extras/rpms/bittorrent/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv15223
Modified Files:
bittorrent.spec
Added Files:
bittorrent-4.2.2-no-version-check.patch
Log Message:
Add patch to prevent phoning home for new version checks
bittorrent-4.2.2-no-version-check.patch:
--- NEW FILE bittorrent-4.2.2-no-version-check.patch ---
--- BitTorrent-4.2.2/BitTorrent/NewVersion.py 2005-12-20 11:44:41.737788953 +0000
+++ BitTorrent-4.2.2/BitTorrent/NewVersion.py 2005-12-20 11:49:49.318965734 +0000
@@ -101,6 +101,9 @@
def get(self):
+ self.debug('Version check skipped for RPM package')
+ return
+
try:
self.get_available()
except BTFailure, e:
Index: bittorrent.spec
===================================================================
RCS file: /cvs/extras/rpms/bittorrent/devel/bittorrent.spec,v
retrieving revision 1.33
retrieving revision 1.34
diff -u -r1.33 -r1.34
--- bittorrent.spec 19 Dec 2005 10:06:12 -0000 1.33
+++ bittorrent.spec 20 Dec 2005 16:56:24 -0000 1.34
@@ -4,7 +4,7 @@
Name: bittorrent
Version: 4.2.2
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: BitTorrent swarming network file transfer tool
Group: Applications/Internet
@@ -15,6 +15,7 @@
Source2: bittorrent.png
Source3: btseed.init
Source4: bttrack.init
+Patch0: bittorrent-4.2.2-no-version-check.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
@@ -74,6 +75,7 @@
%prep
%setup -q -n BitTorrent-%{version}
+%patch0 -p1
%{__sed} -i "s#appdir = .*#appdir = '%{name}-%{version}'#" \
BitTorrent/platform.py
%{__sed} -i "s#public_key_file = .*#public_key_file = open('%{pkidir}/bittorrent/public.key', 'rb')#" \
@@ -217,6 +219,9 @@
%{_datadir}/icons/hicolor/48x48/apps/bittorrent.png
%changelog
+* Tue Dec 20 2005 Paul Howarth <paul at city-fan.org> 4.2.2-2
+- Add patch to prevent phoning home for new version checks
+
* Mon Dec 19 2005 Paul Howarth <paul at city-fan.org> 4.2.2-1
- Update to 4.2.2
More information about the fedora-extras-commits
mailing list