[gdal] 15/29: Rename libgdal1h to libgdal20 to match SONAME.

Sebastiaan Couwenberg sebastic at moszumanska.debian.org
Sun Jun 14 20:19:46 UTC 2015


This is an automated email from the git hooks/post-receive script.

sebastic pushed a commit to branch experimental-2.0
in repository gdal.

commit 353e96f1557f9076a47617888e5563ddea6559dd
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date:   Sun Jun 14 02:35:46 2015 +0200

    Rename libgdal1h to libgdal20 to match SONAME.
---
 debian/changelog                                   |  1 +
 debian/control                                     |  9 ++++----
 debian/gdal-symbols.pl                             |  2 +-
 debian/libgdal1h.lintian-overrides                 |  2 --
 debian/{libgdal1h.install => libgdal20.install}    |  0
 ...dal1h.symbols.alpha => libgdal20.symbols.alpha} |  6 +++---
 ...dal1h.symbols.amd64 => libgdal20.symbols.amd64} |  6 +++---
 ...dal1h.symbols.arm64 => libgdal20.symbols.arm64} |  6 +++---
 ...dal1h.symbols.armhf => libgdal20.symbols.armel} |  6 +++---
 ...dal1h.symbols.armel => libgdal20.symbols.armhf} |  6 +++---
 ...l1h.symbols.common => libgdal20.symbols.common} |  0
 ...bgdal1h.symbols.hppa => libgdal20.symbols.hppa} |  6 +++---
 ...mbols.hurd-i386 => libgdal20.symbols.hurd-i386} |  6 +++---
 ...bgdal1h.symbols.i386 => libgdal20.symbols.i386} |  6 +++---
 ...bgdal1h.symbols.ia64 => libgdal20.symbols.ia64} |  6 +++---
 ...ebsd-amd64 => libgdal20.symbols.kfreebsd-amd64} |  6 +++---
 ...reebsd-i386 => libgdal20.symbols.kfreebsd-i386} |  6 +++---
 ...bgdal1h.symbols.mips => libgdal20.symbols.mips} |  6 +++---
 ...l1h.symbols.mipsel => libgdal20.symbols.mipsel} |  6 +++---
 ...h.symbols.powerpc => libgdal20.symbols.powerpc} |  6 +++---
 ...dal1h.symbols.ppc64 => libgdal20.symbols.ppc64} |  6 +++---
 ...h.symbols.ppc64el => libgdal20.symbols.ppc64el} |  6 +++---
 ...dal1h.symbols.s390x => libgdal20.symbols.s390x} |  6 +++---
 ...dal1h.symbols.sparc => libgdal20.symbols.sparc} |  6 +++---
 ...libgdal1h.symbols.x32 => libgdal20.symbols.x32} |  6 +++---
 debian/rules                                       | 24 +++++++++++-----------
 26 files changed, 76 insertions(+), 76 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index f20a7e1..180d4d0 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -4,6 +4,7 @@ gdal (2.0.0~rc1+dfsg-1) UNRELEASED; urgency=medium
   * Update copyright years & holders.
   * Use uscan in get-orig-source target.
   * Drop patches applied upstream, refresh remaining patches.
+  * Rename libgdal1h to libgdal20 to match SONAME.
 
  -- Bas Couwenberg <sebastic at debian.org>  Sat, 13 Jun 2015 23:40:47 +0200
 
diff --git a/debian/control b/debian/control
index 9d2fd93..001f690 100644
--- a/debian/control
+++ b/debian/control
@@ -58,7 +58,7 @@ Vcs-Git: git://anonscm.debian.org/pkg-grass/gdal.git -b experimental-2.0
 Homepage: http://www.gdal.org/
 X-Python3-Version: >= 3.2
 
-Package: libgdal1h
+Package: libgdal20
 Architecture: any
 Section: libs
 Depends: ${shlibs:Depends},
@@ -68,7 +68,7 @@ Breaks: libgdal1 (<= 1.10.0-0~),
         libgdal1-1.6.0 (<= 1.10.0-0~)
 Replaces: libgdal1 (<= 1.10.0-0~),
           libgdal1-1.6.0 (<= 1.10.0-0~)
-Provides: libgdal.so.1-2.0.0
+Provides: libgdal.so.20-2.0.0
 Description: Geospatial Data Abstraction Library
  GDAL is a translator library for raster geospatial data formats.
  As a library, it presents a single abstract data model to the
@@ -117,7 +117,7 @@ Description: Geospatial Data Abstraction Library - Transitional package
 Package: libgdal-dev
 Architecture: any
 Section: libdevel
-Depends: libgdal1h (= ${binary:Version}),
+Depends: libgdal20 (= ${binary:Version}),
          libc6-dev,
          libnetcdf-dev,
          libjasper-dev,
@@ -166,7 +166,7 @@ Architecture: all
 Section: doc
 Depends: libjs-jquery,
          ${misc:Depends}
-Suggests: libgdal1h
+Suggests: libgdal20
 Description: Documentation for the Geospatial Data Abstraction Library
  GDAL is a translator library for raster geospatial data formats.
  As a library, it presents a single abstract data model to the
@@ -325,3 +325,4 @@ Description: Java bindings to the Geospatial Data Abstraction Library
  .
  This package contains Java bindings for GDAL/OGR library.
 Homepage: http://map.hut.fi/doc/Geo-GDAL/html/
+
diff --git a/debian/gdal-symbols.pl b/debian/gdal-symbols.pl
index 0a32cbd..a4ae506 100755
--- a/debian/gdal-symbols.pl
+++ b/debian/gdal-symbols.pl
@@ -30,7 +30,7 @@ use Term::Prompt;
 
 $|=1;
 
-my $package = 'libgdal1h';
+my $package = 'libgdal20';
 my $pkgdir  = 'binary-'.$package.'/';
 
 our $ua = LWP::UserAgent->new(agent => basename($0));
diff --git a/debian/libgdal1h.lintian-overrides b/debian/libgdal1h.lintian-overrides
deleted file mode 100644
index 116bbb9..0000000
--- a/debian/libgdal1h.lintian-overrides
+++ /dev/null
@@ -1,2 +0,0 @@
-# Package name should be libgdal1, but because of hidden symbols is libgdal1h
-libgdal1h: syntax-error-in-symbols-file 1
diff --git a/debian/libgdal1h.install b/debian/libgdal20.install
similarity index 100%
rename from debian/libgdal1h.install
rename to debian/libgdal20.install
diff --git a/debian/libgdal1h.symbols.alpha b/debian/libgdal20.symbols.alpha
similarity index 99%
rename from debian/libgdal1h.symbols.alpha
rename to debian/libgdal20.symbols.alpha
index 2fcdebc..80fb122 100644
--- a/debian/libgdal1h.symbols.alpha
+++ b/debian/libgdal20.symbols.alpha
@@ -1,6 +1,6 @@
-libgdal.so.1 libgdal1h #MINVER#
-| libgdal1h #MINVER#, libgdal.so.1-2.0.0
-#include "libgdal1h.symbols.common"
+libgdal.so.20 libgdal20 #MINVER#
+| libgdal20 #MINVER#, libgdal.so.20-2.0.0
+#include "libgdal20.symbols.common"
  (c++)"PamGetProxy(char const*)@GDAL_1.8" 1.10.0 1
  (c++)"CPLURLAddKVP(char const*, char const*, char const*)@GDAL_1.8" 1.10.0 1
  (c++)"CPLURLGetValue(char const*, char const*)@GDAL_1.8" 1.10.0 1
diff --git a/debian/libgdal1h.symbols.amd64 b/debian/libgdal20.symbols.amd64
similarity index 99%
rename from debian/libgdal1h.symbols.amd64
rename to debian/libgdal20.symbols.amd64
index 8821096..9627f62 100644
--- a/debian/libgdal1h.symbols.amd64
+++ b/debian/libgdal20.symbols.amd64
@@ -1,6 +1,6 @@
-libgdal.so.1 libgdal1h #MINVER# 
-| libgdal1h #MINVER#, libgdal.so.1-2.0.0
-#include "libgdal1h.symbols.common"
+libgdal.so.20 libgdal20 #MINVER# 
+| libgdal20 #MINVER#, libgdal.so.20-2.0.0
+#include "libgdal20.symbols.common"
  (c++)"PamGetProxy(char const*)@GDAL_1.8" 1.8.0 1
  (c++)"CPLURLAddKVP(char const*, char const*, char const*)@GDAL_1.8" 1.9.0 1
  (c++)"CPLURLGetValue(char const*, char const*)@GDAL_1.8" 1.9.0 1
diff --git a/debian/libgdal1h.symbols.arm64 b/debian/libgdal20.symbols.arm64
similarity index 99%
rename from debian/libgdal1h.symbols.arm64
rename to debian/libgdal20.symbols.arm64
index bc48782..2fc1a57 100644
--- a/debian/libgdal1h.symbols.arm64
+++ b/debian/libgdal20.symbols.arm64
@@ -1,6 +1,6 @@
-libgdal.so.1 libgdal1h #MINVER#
-| libgdal1h #MINVER#, libgdal.so.1-2.0.0
-#include "libgdal1h.symbols.common"
+libgdal.so.20 libgdal20 #MINVER#
+| libgdal20 #MINVER#, libgdal.so.20-2.0.0
+#include "libgdal20.symbols.common"
  (c++)"PamGetProxy(char const*)@GDAL_1.8" 1.10.1 1
  (c++)"CPLURLAddKVP(char const*, char const*, char const*)@GDAL_1.8" 1.10.1 1
  (c++)"CPLURLGetValue(char const*, char const*)@GDAL_1.8" 1.10.1 1
diff --git a/debian/libgdal1h.symbols.armhf b/debian/libgdal20.symbols.armel
similarity index 99%
rename from debian/libgdal1h.symbols.armhf
rename to debian/libgdal20.symbols.armel
index 29e271d..8ca83c2 100644
--- a/debian/libgdal1h.symbols.armhf
+++ b/debian/libgdal20.symbols.armel
@@ -1,6 +1,6 @@
-libgdal.so.1 libgdal1h #MINVER# 
-| libgdal1h #MINVER#, libgdal.so.1-2.0.0
-#include "libgdal1h.symbols.common"
+libgdal.so.20 libgdal20 #MINVER# 
+| libgdal20 #MINVER#, libgdal.so.20-2.0.0
+#include "libgdal20.symbols.common"
  (c++)"PamGetProxy(char const*)@GDAL_1.8" 1.8.0 1
  (c++)"CPLURLAddKVP(char const*, char const*, char const*)@GDAL_1.8" 1.9.0 1
  (c++)"CPLURLGetValue(char const*, char const*)@GDAL_1.8" 1.9.0 1
diff --git a/debian/libgdal1h.symbols.armel b/debian/libgdal20.symbols.armhf
similarity index 99%
rename from debian/libgdal1h.symbols.armel
rename to debian/libgdal20.symbols.armhf
index 29e271d..8ca83c2 100644
--- a/debian/libgdal1h.symbols.armel
+++ b/debian/libgdal20.symbols.armhf
@@ -1,6 +1,6 @@
-libgdal.so.1 libgdal1h #MINVER# 
-| libgdal1h #MINVER#, libgdal.so.1-2.0.0
-#include "libgdal1h.symbols.common"
+libgdal.so.20 libgdal20 #MINVER# 
+| libgdal20 #MINVER#, libgdal.so.20-2.0.0
+#include "libgdal20.symbols.common"
  (c++)"PamGetProxy(char const*)@GDAL_1.8" 1.8.0 1
  (c++)"CPLURLAddKVP(char const*, char const*, char const*)@GDAL_1.8" 1.9.0 1
  (c++)"CPLURLGetValue(char const*, char const*)@GDAL_1.8" 1.9.0 1
diff --git a/debian/libgdal1h.symbols.common b/debian/libgdal20.symbols.common
similarity index 100%
rename from debian/libgdal1h.symbols.common
rename to debian/libgdal20.symbols.common
diff --git a/debian/libgdal1h.symbols.hppa b/debian/libgdal20.symbols.hppa
similarity index 99%
rename from debian/libgdal1h.symbols.hppa
rename to debian/libgdal20.symbols.hppa
index ac49d6d..ae8ce0e 100644
--- a/debian/libgdal1h.symbols.hppa
+++ b/debian/libgdal20.symbols.hppa
@@ -1,6 +1,6 @@
-libgdal.so.1 libgdal1h #MINVER#
-| libgdal1h #MINVER#, libgdal.so.1-2.0.0
-#include "libgdal1h.symbols.common"
+libgdal.so.20 libgdal20 #MINVER#
+| libgdal20 #MINVER#, libgdal.so.20-2.0.0
+#include "libgdal20.symbols.common"
  (c++)"PamGetProxy(char const*)@GDAL_1.8" 1.10.1 1
  (c++)"CPLURLAddKVP(char const*, char const*, char const*)@GDAL_1.8" 1.10.1 1
  (c++)"CPLURLGetValue(char const*, char const*)@GDAL_1.8" 1.10.1 1
diff --git a/debian/libgdal1h.symbols.hurd-i386 b/debian/libgdal20.symbols.hurd-i386
similarity index 99%
rename from debian/libgdal1h.symbols.hurd-i386
rename to debian/libgdal20.symbols.hurd-i386
index c331883..0479e1e 100644
--- a/debian/libgdal1h.symbols.hurd-i386
+++ b/debian/libgdal20.symbols.hurd-i386
@@ -1,6 +1,6 @@
-libgdal.so.1 libgdal1h #MINVER#
-| libgdal1h #MINVER#, libgdal.so.1-2.0.0
-#include "libgdal1h.symbols.common"
+libgdal.so.20 libgdal20 #MINVER#
+| libgdal20 #MINVER#, libgdal.so.20-2.0.0
+#include "libgdal20.symbols.common"
  (c++)"PamGetProxy(char const*)@GDAL_1.8" 1.10.1 1
  (c++)"CPLURLAddKVP(char const*, char const*, char const*)@GDAL_1.8" 1.10.1 1
  (c++)"CPLURLGetValue(char const*, char const*)@GDAL_1.8" 1.10.1 1
diff --git a/debian/libgdal1h.symbols.i386 b/debian/libgdal20.symbols.i386
similarity index 99%
rename from debian/libgdal1h.symbols.i386
rename to debian/libgdal20.symbols.i386
index 6550dcd..b667718 100644
--- a/debian/libgdal1h.symbols.i386
+++ b/debian/libgdal20.symbols.i386
@@ -1,6 +1,6 @@
-libgdal.so.1 libgdal1h #MINVER# 
-| libgdal1h #MINVER#, libgdal.so.1-2.0.0
-#include "libgdal1h.symbols.common"
+libgdal.so.20 libgdal20 #MINVER# 
+| libgdal20 #MINVER#, libgdal.so.20-2.0.0
+#include "libgdal20.symbols.common"
  (c++)"PamGetProxy(char const*)@GDAL_1.8" 1.9.0 1
  (c++)"CPLURLAddKVP(char const*, char const*, char const*)@GDAL_1.8" 1.9.0 1
  (c++)"CPLURLGetValue(char const*, char const*)@GDAL_1.8" 1.9.0 1
diff --git a/debian/libgdal1h.symbols.ia64 b/debian/libgdal20.symbols.ia64
similarity index 99%
rename from debian/libgdal1h.symbols.ia64
rename to debian/libgdal20.symbols.ia64
index 8858eb1..70f561d 100644
--- a/debian/libgdal1h.symbols.ia64
+++ b/debian/libgdal20.symbols.ia64
@@ -1,6 +1,6 @@
-libgdal.so.1 libgdal1h #MINVER# 
-| libgdal1h #MINVER#, libgdal.so.1-2.0.0
-#include "libgdal1h.symbols.common"
+libgdal.so.20 libgdal20 #MINVER# 
+| libgdal20 #MINVER#, libgdal.so.20-2.0.0
+#include "libgdal20.symbols.common"
  (c++)"PamGetProxy(char const*)@GDAL_1.8" 1.9.0 1
  (c++)"CPLURLAddKVP(char const*, char const*, char const*)@GDAL_1.8" 1.9.0 1
  (c++)"CPLURLGetValue(char const*, char const*)@GDAL_1.8" 1.9.0 1
diff --git a/debian/libgdal1h.symbols.kfreebsd-amd64 b/debian/libgdal20.symbols.kfreebsd-amd64
similarity index 99%
rename from debian/libgdal1h.symbols.kfreebsd-amd64
rename to debian/libgdal20.symbols.kfreebsd-amd64
index 7f02042..9da42b7 100644
--- a/debian/libgdal1h.symbols.kfreebsd-amd64
+++ b/debian/libgdal20.symbols.kfreebsd-amd64
@@ -1,6 +1,6 @@
-libgdal.so.1 libgdal1h #MINVER#
-| libgdal1h #MINVER#, libgdal.so.1-2.0.0
-#include "libgdal1h.symbols.common"
+libgdal.so.20 libgdal20 #MINVER#
+| libgdal20 #MINVER#, libgdal.so.20-2.0.0
+#include "libgdal20.symbols.common"
  (c++)"PamGetProxy(char const*)@GDAL_1.8" 1.10.0 1
  (c++)"CPLURLAddKVP(char const*, char const*, char const*)@GDAL_1.8" 1.10.0 1
  (c++)"CPLURLGetValue(char const*, char const*)@GDAL_1.8" 1.10.0 1
diff --git a/debian/libgdal1h.symbols.kfreebsd-i386 b/debian/libgdal20.symbols.kfreebsd-i386
similarity index 99%
rename from debian/libgdal1h.symbols.kfreebsd-i386
rename to debian/libgdal20.symbols.kfreebsd-i386
index d3e217d..8f33463 100644
--- a/debian/libgdal1h.symbols.kfreebsd-i386
+++ b/debian/libgdal20.symbols.kfreebsd-i386
@@ -1,6 +1,6 @@
-libgdal.so.1 libgdal1h #MINVER#
-| libgdal1h #MINVER#, libgdal.so.1-2.0.0
-#include "libgdal1h.symbols.common"
+libgdal.so.20 libgdal20 #MINVER#
+| libgdal20 #MINVER#, libgdal.so.20-2.0.0
+#include "libgdal20.symbols.common"
  (c++)"PamGetProxy(char const*)@GDAL_1.8" 1.10.0 1
  (c++)"CPLURLAddKVP(char const*, char const*, char const*)@GDAL_1.8" 1.10.0 1
  (c++)"CPLURLGetValue(char const*, char const*)@GDAL_1.8" 1.10.0 1
diff --git a/debian/libgdal1h.symbols.mips b/debian/libgdal20.symbols.mips
similarity index 99%
rename from debian/libgdal1h.symbols.mips
rename to debian/libgdal20.symbols.mips
index 8e3e895..d2dcaf0 100644
--- a/debian/libgdal1h.symbols.mips
+++ b/debian/libgdal20.symbols.mips
@@ -1,6 +1,6 @@
-libgdal.so.1 libgdal1h #MINVER# 
-| libgdal1h #MINVER#, libgdal.so.1-2.0.0
-#include "libgdal1h.symbols.common"
+libgdal.so.20 libgdal20 #MINVER# 
+| libgdal20 #MINVER#, libgdal.so.20-2.0.0
+#include "libgdal20.symbols.common"
  (c++)"PamGetProxy(char const*)@GDAL_1.8" 1.9.0 1
  (c++)"CPLURLAddKVP(char const*, char const*, char const*)@GDAL_1.8" 1.9.0 1
  (c++)"CPLURLGetValue(char const*, char const*)@GDAL_1.8" 1.9.0 1
diff --git a/debian/libgdal1h.symbols.mipsel b/debian/libgdal20.symbols.mipsel
similarity index 99%
rename from debian/libgdal1h.symbols.mipsel
rename to debian/libgdal20.symbols.mipsel
index 601d949..8b204e4 100644
--- a/debian/libgdal1h.symbols.mipsel
+++ b/debian/libgdal20.symbols.mipsel
@@ -1,6 +1,6 @@
-libgdal.so.1 libgdal1h #MINVER# 
-| libgdal1h #MINVER#, libgdal.so.1-2.0.0
-#include "libgdal1h.symbols.common"
+libgdal.so.20 libgdal20 #MINVER# 
+| libgdal20 #MINVER#, libgdal.so.20-2.0.0
+#include "libgdal20.symbols.common"
  (c++)"PamGetProxy(char const*)@GDAL_1.8" 1.9.0 1
  (c++)"CPLURLAddKVP(char const*, char const*, char const*)@GDAL_1.8" 1.9.0 1
  (c++)"CPLURLGetValue(char const*, char const*)@GDAL_1.8" 1.9.0 1
diff --git a/debian/libgdal1h.symbols.powerpc b/debian/libgdal20.symbols.powerpc
similarity index 99%
rename from debian/libgdal1h.symbols.powerpc
rename to debian/libgdal20.symbols.powerpc
index 7bc1d84..1825829 100644
--- a/debian/libgdal1h.symbols.powerpc
+++ b/debian/libgdal20.symbols.powerpc
@@ -1,6 +1,6 @@
-libgdal.so.1 libgdal1h #MINVER# 
-| libgdal1h #MINVER#, libgdal.so.1-2.0.0
-#include "libgdal1h.symbols.common"
+libgdal.so.20 libgdal20 #MINVER# 
+| libgdal20 #MINVER#, libgdal.so.20-2.0.0
+#include "libgdal20.symbols.common"
  (c++)"PamGetProxy(char const*)@GDAL_1.8" 1.8.0 1
  (c++)"CPLURLAddKVP(char const*, char const*, char const*)@GDAL_1.8" 1.9.0 1
  (c++)"CPLURLGetValue(char const*, char const*)@GDAL_1.8" 1.9.0 1
diff --git a/debian/libgdal1h.symbols.ppc64 b/debian/libgdal20.symbols.ppc64
similarity index 99%
rename from debian/libgdal1h.symbols.ppc64
rename to debian/libgdal20.symbols.ppc64
index 387afee..14dc316 100644
--- a/debian/libgdal1h.symbols.ppc64
+++ b/debian/libgdal20.symbols.ppc64
@@ -1,6 +1,6 @@
-libgdal.so.1 libgdal1h #MINVER#
-| libgdal1h #MINVER#, libgdal.so.1-2.0.0
-#include "libgdal1h.symbols.common"
+libgdal.so.20 libgdal20 #MINVER#
+| libgdal20 #MINVER#, libgdal.so.20-2.0.0
+#include "libgdal20.symbols.common"
  BSBClose at GDAL_1.8 1.10.0
  BSBCreate at GDAL_1.8 1.10.0
  BSBOpen at GDAL_1.8 1.10.0
diff --git a/debian/libgdal1h.symbols.ppc64el b/debian/libgdal20.symbols.ppc64el
similarity index 99%
rename from debian/libgdal1h.symbols.ppc64el
rename to debian/libgdal20.symbols.ppc64el
index 947416c..8d2a955 100644
--- a/debian/libgdal1h.symbols.ppc64el
+++ b/debian/libgdal20.symbols.ppc64el
@@ -1,6 +1,6 @@
-libgdal.so.1 libgdal1h #MINVER#
-| libgdal1h #MINVER#, libgdal.so.1-2.0.0
-#include "libgdal1h.symbols.common"
+libgdal.so.20 libgdal20 #MINVER#
+| libgdal20 #MINVER#, libgdal.so.20-2.0.0
+#include "libgdal20.symbols.common"
  (c++)"PamGetProxy(char const*)@GDAL_1.8" 1.10.1 1
  (c++)"CPLURLAddKVP(char const*, char const*, char const*)@GDAL_1.8" 1.10.1 1
  (c++)"CPLURLGetValue(char const*, char const*)@GDAL_1.8" 1.10.1 1
diff --git a/debian/libgdal1h.symbols.s390x b/debian/libgdal20.symbols.s390x
similarity index 99%
rename from debian/libgdal1h.symbols.s390x
rename to debian/libgdal20.symbols.s390x
index d38db8a..b12bef3 100644
--- a/debian/libgdal1h.symbols.s390x
+++ b/debian/libgdal20.symbols.s390x
@@ -1,6 +1,6 @@
-libgdal.so.1 libgdal1h #MINVER# 
-| libgdal1h #MINVER#, libgdal.so.1-2.0.0
-#include "libgdal1h.symbols.common"
+libgdal.so.20 libgdal20 #MINVER# 
+| libgdal20 #MINVER#, libgdal.so.20-2.0.0
+#include "libgdal20.symbols.common"
  (c++)"PamGetProxy(char const*)@GDAL_1.8" 1.9.0 1
  (c++)"CPLURLAddKVP(char const*, char const*, char const*)@GDAL_1.8" 1.9.0 1
  (c++)"CPLURLGetValue(char const*, char const*)@GDAL_1.8" 1.9.0 1
diff --git a/debian/libgdal1h.symbols.sparc b/debian/libgdal20.symbols.sparc
similarity index 99%
rename from debian/libgdal1h.symbols.sparc
rename to debian/libgdal20.symbols.sparc
index 46c8047..1b2cec7 100644
--- a/debian/libgdal1h.symbols.sparc
+++ b/debian/libgdal20.symbols.sparc
@@ -1,6 +1,6 @@
-libgdal.so.1 libgdal1h #MINVER# 
-| libgdal1h #MINVER#, libgdal.so.1-2.0.0
-#include "libgdal1h.symbols.common"
+libgdal.so.20 libgdal20 #MINVER# 
+| libgdal20 #MINVER#, libgdal.so.20-2.0.0
+#include "libgdal20.symbols.common"
  (c++)"PamGetProxy(char const*)@GDAL_1.8" 1.8.0 1
  (c++)"CPLURLAddKVP(char const*, char const*, char const*)@GDAL_1.8" 1.9.0 1
  (c++)"CPLURLGetValue(char const*, char const*)@GDAL_1.8" 1.9.0 1
diff --git a/debian/libgdal1h.symbols.x32 b/debian/libgdal20.symbols.x32
similarity index 99%
rename from debian/libgdal1h.symbols.x32
rename to debian/libgdal20.symbols.x32
index cc23c5e..186b37b 100644
--- a/debian/libgdal1h.symbols.x32
+++ b/debian/libgdal20.symbols.x32
@@ -1,6 +1,6 @@
-libgdal.so.1 libgdal1h #MINVER#
-| libgdal1h #MINVER#, libgdal.so.1-2.0.0
-#include "libgdal1h.symbols.common"
+libgdal.so.20 libgdal20 #MINVER#
+| libgdal20 #MINVER#, libgdal.so.20-2.0.0
+#include "libgdal20.symbols.common"
  (c++)"PamGetProxy(char const*)@GDAL_1.8" 1.10.1 1
  (c++)"CPLURLAddKVP(char const*, char const*, char const*)@GDAL_1.8" 1.10.1 1
  (c++)"CPLURLGetValue(char const*, char const*)@GDAL_1.8" 1.10.1 1
diff --git a/debian/rules b/debian/rules
index c566e44..e1f7856 100755
--- a/debian/rules
+++ b/debian/rules
@@ -187,19 +187,19 @@ override_dh_auto_install:
 	install -o root -g root -m 755 $(CURDIR)/swig/python/samples/*.py $(CURDIR)/debian/tmp/usr/share/doc/python-gdal/examples/.
 
 	# create lintian overrides file
-	echo "# TIFF/GEOTIFF symbols are renamed to definitively solve problem of" >> $(CURDIR)/debian/libgdal1h.lintian-overrides
-	echo "# symbol collisions for programs that both links geotiff/tiff libraries." >> $(CURDIR)/debian/libgdal1h.lintian-overrides
-	echo "libgdal1h: package-name-doesnt-match-sonames libgdal1" >> $(CURDIR)/debian/libgdal1h.lintian-overrides
+	echo "# TIFF/GEOTIFF symbols are renamed to definitively solve problem of" >> $(CURDIR)/debian/libgdal20.lintian-overrides
+	echo "# symbol collisions for programs that both links geotiff/tiff libraries." >> $(CURDIR)/debian/libgdal20.lintian-overrides
+	echo "libgdal20: package-name-doesnt-match-sonames libgdal1" >> $(CURDIR)/debian/libgdal20.lintian-overrides
 
-	echo >> $(CURDIR)/debian/libgdal1h.lintian-overrides
-	echo "# Used for BigTIFF support (#501127)" >> $(CURDIR)/debian/libgdal1h.lintian-overrides
-	echo "libgdal1h: embedded-library usr/lib/libgdal.so.$$(basename debian/tmp/usr/lib/libgdal.so.*.*.*|cut -d. -f3,4,5): tiff" \
-		>> $(CURDIR)/debian/libgdal1h.lintian-overrides
+	echo >> $(CURDIR)/debian/libgdal20.lintian-overrides
+	echo "# Used for BigTIFF support (#501127)" >> $(CURDIR)/debian/libgdal20.lintian-overrides
+	echo "libgdal20: embedded-library usr/lib/libgdal.so.$$(basename debian/tmp/usr/lib/libgdal.so.*.*.*|cut -d. -f3,4,5): tiff" \
+		>> $(CURDIR)/debian/libgdal20.lintian-overrides
 
-	echo >> $(CURDIR)/debian/libgdal1h.lintian-overrides
-	echo "# False positive on: {136, "Socialist Republic of Viet Nam"}," >> $(CURDIR)/debian/libgdal1h.lintian-overrides
-	echo "libgdal1h: spelling-error-in-binary usr/lib/libgdal.so.$$(basename debian/tmp/usr/lib/libgdal.so.*.*.*|cut -d. -f3,4,5) Nam Name" \
-		>> $(CURDIR)/debian/libgdal1h.lintian-overrides
+	echo >> $(CURDIR)/debian/libgdal20.lintian-overrides
+	echo "# False positive on: {136, "Socialist Republic of Viet Nam"}," >> $(CURDIR)/debian/libgdal20.lintian-overrides
+	echo "libgdal20: spelling-error-in-binary usr/lib/libgdal.so.$$(basename debian/tmp/usr/lib/libgdal.so.*.*.*|cut -d. -f3,4,5) Nam Name" \
+		>> $(CURDIR)/debian/libgdal20.lintian-overrides
 
 override_dh_install:
 	dh_install --autodest --list-missing
@@ -222,7 +222,7 @@ override_dh_makeshlibs:
 	#dh_makeshlibs -Xlibgdal-java -- -v$(GDAL_MAJOR).$(GDAL_MINOR).$(GDAL_PATCH)
 
 override_dh_shlibdeps:
-	dh_shlibdeps -L libgdal1h -l debian/libgdal1h/usr/lib
+	dh_shlibdeps -L libgdal20 -l debian/libgdal20/usr/lib
 
 get-orig-source:
 	uscan --verbose --force-download

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/gdal.git



More information about the Pkg-grass-devel mailing list