[GMT: 1/2] Update to 4.5.7 Drop triangulate patch applied upstream License is now (as of 4.5.6 actually) GPLv2

Orion Poplawski orion at fedoraproject.org
Mon Aug 29 21:08:44 UTC 2011


commit 9b7349001acd38bbbc068ff56a42e3a35df05d5f
Author: Orion Poplawski <orion at cora.nwra.com>
Date:   Mon Aug 29 15:02:45 2011 -0600

    Update to 4.5.7
    Drop triangulate patch applied upstream
    License is now (as of 4.5.6 actually) GPLv2 or later
    Re-enable octave support since we are GPLv3 compatible now

 .gitignore                  |    1 +
 GMT-4.5.6-triangulate.patch |   33 ---------------------------------
 GMT.spec                    |   27 ++++++++++++++-------------
 sources                     |    5 +----
 4 files changed, 16 insertions(+), 50 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 4946dcc..14ed9b3 100644
--- a/.gitignore
+++ b/.gitignore
@@ -10,3 +10,4 @@ GMT4.5.3_suppl.tar.bz2
 /GMT4.5.6_share.tar.bz2
 /GMT4.5.6_src.tar.bz2
 /GMT4.5.6_suppl.tar.bz2
+/gmt-4.5.7-notriangle.tar.bz2
diff --git a/GMT.spec b/GMT.spec
index 96f2fde..e9a4582 100644
--- a/GMT.spec
+++ b/GMT.spec
@@ -2,8 +2,7 @@
 %global gmtconf %{_sysconfdir}/GMT
 %global gmtdoc %{_docdir}/gmt
 
-#We can't link with octave until we are GPLv3+ compatible
-%bcond_with octave
+%bcond_without octave
 %if %with octave
 %{!?octave_api: %define octave_api %(octave-config -p API_VERSION 2>/dev/null || echo 0)}
 %define octave_mdir %(octave-config -p LOCALAPIFCNFILEDIR || echo)
@@ -11,19 +10,16 @@
 %endif
 
 Name:           GMT
-Version:        4.5.6
-Release:        2%{?dist}
+Version:        4.5.7
+Release:        1%{?dist}
 Summary:        Generic Mapping Tools
 
 Group:          Applications/Engineering
-License:        GPLv2
+License:        GPLv2+
 URL:            http://gmt.soest.hawaii.edu/
-Source0:        ftp://ftp.soest.hawaii.edu/gmt/GMT%{version}_src.tar.bz2
-Source1:        ftp://ftp.soest.hawaii.edu/gmt/GMT%{version}_share.tar.bz2
-Source2:        ftp://ftp.soest.hawaii.edu/gmt/GMT%{version}_suppl.tar.bz2
-Source3:        ftp://ftp.soest.hawaii.edu/gmt/GMT%{version}_doc.tar.bz2
-# Patch from CVS to fix triangulate segfault with no/empty input
-Patch0:         GMT-4.5.6-triangulate.patch
+#Source0:        ftp://ftp.soest.hawaii.edu/gmt/gmt-%{version}.tar.bz2
+#This is built from the above with the triangle source removed
+Source0:        gmt-%{version}-notriangle.tar.bz2
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildRequires:  gdal-devel
@@ -130,8 +126,7 @@ GMT 2 dimensional grids.
 
 
 %prep
-%setup -q -b1 -b2 -b3 -n GMT%{version}
-%patch0 -p1 -b .triangulate
+%setup -q -n GMT%{version}
 #We don't care about .bat files
 find -name \*.bat | xargs rm
 #Fix permissions
@@ -255,6 +250,12 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
+* Fri Aug 12 2011 Orion Poplawski <orion at cora.nwra.com> 4.5.7-1
+- Update to 4.5.7
+- Drop triangulate patch applied upstream
+- License is now (as of 4.5.6 actually) GPLv2 or later
+- Re-enable octave support since we are GPLv3 compatible now
+
 * Thu Mar 31 2011 Orion Poplawski <orion at cora.nwra.com> 4.5.6-2
 - Rebuild for netcdf 4.1.2
 
diff --git a/sources b/sources
index 7326b17..7fd1fb2 100644
--- a/sources
+++ b/sources
@@ -1,4 +1 @@
-9a7b78d58311beff31d47b42d0d30bad  GMT4.5.6_doc.tar.bz2
-9b29e35a0c939345ae593dc6487c8b00  GMT4.5.6_share.tar.bz2
-79cdb798b48c0411483d9b1c60944163  GMT4.5.6_src.tar.bz2
-1519e3fdfd337a852d53f5ce819ac3cc  GMT4.5.6_suppl.tar.bz2
+47b92037eef2e7090d1ba4b67b08d6aa  gmt-4.5.7-notriangle.tar.bz2


More information about the scm-commits mailing list