[gpsdrive] Add patch to remove bogus dep on perl(Switch)

Kevin Fenzi kevin at fedoraproject.org
Sun Jul 31 16:43:52 UTC 2011


commit ab9366579a90722edd6e7ef9d3f7679a4af7b2bf
Author: Kevin Fenzi <kevin at scrye.com>
Date:   Sun Jul 31 10:43:33 2011 -0600

    Add patch to remove bogus dep on perl(Switch)

 gpsdrive-2.11-remove-Switch.patch |   11 +++++++++++
 gpsdrive.spec                     |    7 ++++++-
 2 files changed, 17 insertions(+), 1 deletions(-)
---
diff --git a/gpsdrive-2.11-remove-Switch.patch b/gpsdrive-2.11-remove-Switch.patch
new file mode 100644
index 0000000..9dcb156
--- /dev/null
+++ b/gpsdrive-2.11-remove-Switch.patch
@@ -0,0 +1,11 @@
+diff -Nur gpsdrive-2.11.orig/scripts/gpsfetchmap.pl gpsdrive-2.11/scripts/gpsfetchmap.pl
+--- gpsdrive-2.11.orig/scripts/gpsfetchmap.pl	2010-06-24 13:53:32.000000000 -0600
++++ gpsdrive-2.11/scripts/gpsfetchmap.pl	2011-07-31 10:27:26.889347649 -0600
+@@ -70,7 +70,6 @@
+ use File::Path;
+ use File::Copy;
+ use IO::File;
+-use Switch;
+ use POSIX qw(ceil floor);
+ use Image::Magick;
+ 
diff --git a/gpsdrive.spec b/gpsdrive.spec
index 0c4b4e2..0b9bda3 100644
--- a/gpsdrive.spec
+++ b/gpsdrive.spec
@@ -1,7 +1,7 @@
 Summary: A GPS based navigation tool 
 Name: gpsdrive
 Version: 2.11
-Release: 8%{?dist}
+Release: 9%{?dist}
 License: GPLv2+
 Group: Applications/Productivity
 URL: http://www.gpsdrive.de/index.shtml
@@ -18,6 +18,7 @@ Patch3: gpsdrive-2.10-newgps.patch
 Patch4: gpsdrive-2.10-fix-dso-linking.patch
 Patch5: gpsdrive-2.11-add-gdk-pixbuf2.patch
 Patch6: gpsdrive-2.11-set-boostfilesystemversion.patch
+Patch7: gpsdrive-2.11-remove-Switch.patch
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildRequires: gtk2-devel >= 2.0.6
@@ -68,6 +69,7 @@ Speech output is also available. MySQL is supported.
 %patch4 -p1 -b .fix-dso-linking
 %patch5 -p1 -b .gdk-pixbuf2
 %patch6 -p1 -b .boostfilesystemver
+%patch7 -p1 -b .removeswitch
 
 %build
 mkdir build
@@ -124,6 +126,9 @@ rm -rf $RPM_BUILD_ROOT
 %{perl_vendorlib}/*
 
 %changelog
+* Sun Jul 31 2011 Kevin Fenzi <kevin at scrye.com> - 2.11-9
+- Add patch to remove bogus dep on perl(Switch). 
+
 * Fri Jul 29 2011 Kevin Fenzi <kevin at scrye.com> - 2.11-8
 - Rebuild again for new boost
 


More information about the scm-commits mailing list