rpms/bittorrent/FC-4 bittorrent-4.2.2-no-version-check.patch, NONE, 1.1 bittorrent.spec, 1.18, 1.19
Paul Howarth (pghmcfc)
fedora-extras-commits at redhat.com
Tue Dec 20 17:03:15 UTC 2005
Author: pghmcfc
Update of /cvs/extras/rpms/bittorrent/FC-4
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv16904
Modified Files:
bittorrent.spec
Added Files:
bittorrent-4.2.2-no-version-check.patch
Log Message:
resync with devel
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/FC-4/bittorrent.spec,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -r1.18 -r1.19
--- bittorrent.spec 19 Dec 2005 10:08:56 -0000 1.18
+++ bittorrent.spec 20 Dec 2005 17:03:08 -0000 1.19
@@ -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 scm-commits
mailing list