Hello community,

here is the log from the commit of package gdal for openSUSE:Factory checked in 
at 2018-08-03 12:35:29
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/gdal (Old)
 and      /work/SRC/openSUSE:Factory/.gdal.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "gdal"

Fri Aug  3 12:35:29 2018 rev:33 rq:626805 version:2.3.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/gdal/gdal.changes        2018-07-28 
12:43:34.680791090 +0200
+++ /work/SRC/openSUSE:Factory/.gdal.new/gdal.changes   2018-08-03 
12:35:31.315411201 +0200
@@ -1,0 +2,7 @@
+Tue Jul 31 06:29:53 UTC 2018 - [email protected]
+
+- Remove patch gdal-libproj.patch, we can't have hardcoded libproj
+  soversion. Replaced by dynamic sed formula.
+  Fix boo#1102889
+
+-------------------------------------------------------------------

Old:
----
  gdal-libproj.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ gdal.spec ++++++
--- /var/tmp/diff_new_pack.G89gD9/_old  2018-08-03 12:35:31.795411912 +0200
+++ /var/tmp/diff_new_pack.G89gD9/_new  2018-08-03 12:35:31.795411912 +0200
@@ -34,9 +34,6 @@
 Patch0:         gdal-perl.patch
 # Fix occasional parallel build failure
 Patch1:         GDALmake.opt.in.patch
-# Fix hard coded name of libproj library
-# But libproj.so is valid if libproj-devel is installed ?
-Patch2:         gdal-libproj.patch
 # PATCH-FIX-UPSTREAM - gdal-fix_ecw5_detection.patch: fix ECW5 detection in 
configure
 Patch3:         gdal-fix_ecw5_detection.patch
 BuildRequires:  blas-devel
@@ -173,9 +170,12 @@
 %setup -q -n %{sourcename}-%{version}
 %patch0 -p1
 %patch1 -p1
-%patch2 -p1
 %patch3 -p1
 
+# Set the right (build) libproj.so version
+PROJSOVER=$(ls -1 %_libdir/libproj.so.?? | awk -F '.' '{print $3}')
+sed -i "s,#  define LIBNAME \"libproj.so\",#  define LIBNAME 
\"libproj.so.${PROJSOVER}\",g" ogr/ogrct.cpp
+
 # Fix mandir
 sed -i "s|^mandir=.*|mandir='\${prefix}/share/man'|" configure
 


Reply via email to