]> git.pld-linux.org Git - packages/libdap.git/commitdiff
- updated to 1.20.11 (new libdap soname) master auto/th/libdap-3.20.11-1
authorJakub Bogusz <qboosh@pld-linux.org>
Thu, 19 Jan 2023 16:28:02 +0000 (17:28 +0100)
committerJakub Bogusz <qboosh@pld-linux.org>
Thu, 19 Jan 2023 16:28:02 +0000 (17:28 +0100)
- added sh patch (kill bashism in configure)

libdap-sh.patch [new file with mode: 0644]
libdap-tirpc.patch
libdap.spec

diff --git a/libdap-sh.patch b/libdap-sh.patch
new file mode 100644 (file)
index 0000000..c1df22c
--- /dev/null
@@ -0,0 +1,11 @@
+--- libdap-3.20.11/conf/ox_rhel8_tirpc.m4.orig 2022-07-01 20:20:09.000000000 +0200
++++ libdap-3.20.11/conf/ox_rhel8_tirpc.m4      2023-01-19 06:26:19.183531210 +0100
+@@ -27,7 +27,7 @@ AS_IF([test -f /etc/redhat-release && gr
+     dnl if this is RHEL8, then we need the tirpc library on CPPFLAGS and LDFLAGS
+     [
+         AC_MSG_NOTICE([Found a RHEL 8 or equivalent system...])
+-        AS_IF([grep -q -v tirpc <<< $CPPFLAGS || grep -q -v tirpc <<< $LDFLAGS],
++        AS_IF([echo $CPPFLAGS | grep -q -v tirpc || echo $LDFLAGS | grep -q -v tirpc],
+         dnl if either CPPFLAGS or LDFLAGS lack 'tirpc', error
+         [
+             AC_MSG_ERROR([Libdap4 on Redhat Linux 8 requires the tirpc library be included on CPPFLAGS and LDFLAGS])
index 208ae97307a631e0afc6d55c2856aff926a1595d..ea8a3452f92eff9efc926023351d52de827c378d 100644 (file)
  Libs: -L${libdir} -ldap
  Libs.private:  @xmlprivatelibs@ @PTHREAD_LIBS@
  Requires.private: @xmlprivatereq@
---- libdap-3.20.6/dap-config.in.orig   2020-11-28 10:24:22.919805642 +0100
-+++ libdap-3.20.6/dap-config.in        2020-11-28 10:24:30.039767070 +0100
-@@ -56,7 +56,7 @@
-       ;;
+--- libdap-3.20.11/dap-config.in.orig  2023-01-18 22:31:36.363868299 +0100
++++ libdap-3.20.11/dap-config.in       2023-01-18 22:32:15.696988547 +0100
+@@ -59,7 +59,7 @@ while test $# -gt 0; do
+     # which avoids issues with IDE warnings and will help later when there are
+     # two libdap libraries. jhrg 6/17/21
      --cflags)
--      echo "-I${includedir}/libdap @XML2_CFLAGS@ @CURL_CFLAGS@"
-+      echo "-I${includedir}/libdap @XML2_CFLAGS@ @CURL_CFLAGS@ @TIRPC_CFLAGS@"
+-      echo "-I${includedir} -I${includedir}/libdap @XML2_CFLAGS@ @CURL_CFLAGS@"
++      echo "-I${includedir} -I${includedir}/libdap @XML2_CFLAGS@ @CURL_CFLAGS@ @TIRPC_CFLAGS@"
        ;;
  
      --libs)
index 0f5fb89d58b67d1a9d8ef06bf98c121c4e8a9555..96fb1dc6464168e65f8a539ead6d59e0631c70e5 100644 (file)
@@ -5,14 +5,15 @@
 Summary:       OPeNDAP C++ implementation of the Data Access Protocol
 Summary(pl.UTF-8):     OPeNDAP - implementacja w C++ protokoĊ‚u DAP (Data Access Protocol)
 Name:          libdap
-Version:       3.20.6
+Version:       3.20.11
 Release:       1
 License:       LGPL v2.1+
 Group:         Libraries
 Source0:       https://www.opendap.org/pub/source/%{name}-%{version}.tar.gz
-# Source0-md5: 314de766b550de9a53fe49570149f84f
+# Source0-md5: 2072499296f396a07d886537f0b86ccd
 Patch0:                %{name}-tirpc.patch
 Patch1:                %{name}-config-no-libdirs.patch
+Patch2:                %{name}-sh.patch
 URL:           https://www.opendap.org/
 BuildRequires: autoconf >= 2.63
 BuildRequires: automake
@@ -93,6 +94,7 @@ Statyczna biblioteka OPeNDAP.
 %setup -q
 %patch0 -p1
 %patch1 -p1
+%patch2 -p1
 
 %build
 %{__libtoolize}
@@ -128,7 +130,7 @@ rm -rf $RPM_BUILD_ROOT
 %attr(755,root,root) %{_bindir}/getdap
 %attr(755,root,root) %{_bindir}/getdap4
 %attr(755,root,root) %{_libdir}/libdap.so.*.*.*
-%attr(755,root,root) %ghost %{_libdir}/libdap.so.25
+%attr(755,root,root) %ghost %{_libdir}/libdap.so.27
 %attr(755,root,root) %{_libdir}/libdapclient.so.*.*.*
 %attr(755,root,root) %ghost %{_libdir}/libdapclient.so.6
 %attr(755,root,root) %{_libdir}/libdapserver.so.*.*.*
This page took 0.144169 seconds and 4 git commands to generate.