Use libtirpc for xdr_* functions

Signed-off-by: David Abdurachmanov <david.abdurachmanov@gmail.com>
This commit is contained in:
David Abdurachmanov 2018-06-18 22:37:45 +02:00
parent 6cbbb1e463
commit 67e2187011
Signed by: davidlt
GPG Key ID: 7108702C938B13C1
1 changed files with 10 additions and 1 deletions

View File

@ -1,7 +1,7 @@
Name: libdap
Summary: The C++ DAP2 library from OPeNDAP
Version: 3.18.3
Release: 5.0.riscv64%{?dist}
Release: 5.1.riscv64%{?dist}
License: LGPLv2+
Group: Development/Libraries
@ -9,6 +9,9 @@ URL: http://www.opendap.org/
Source0: http://www.opendap.org/pub/source/libdap-%{version}.tar.gz
#Don't run HTTP tests - builders don't have network connections
Patch0: libdap-offline.patch
# glibc all xdr_* symbols are now version (i.e. in compatibility mode)
# we need to use newer, external library
Patch1: libdap-use-libtirpc.patch
# For autoreconf
BuildRequires: libtool
@ -22,6 +25,7 @@ BuildRequires: libuuid-devel
BuildRequires: libxml2-devel
BuildRequires: openssl-devel
BuildRequires: pkgconfig
BuildRequires: libtirpc-devel
%ifarch %{valgrind_arches}
BuildRequires: valgrind
%endif
@ -43,6 +47,7 @@ Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
Requires: curl-devel
Requires: libxml2-devel
Requires: libtirpc-devel
Requires: pkgconfig
# for the /usr/share/aclocal directory ownership
Requires: automake
@ -63,6 +68,7 @@ Documentation of the libdap library.
%prep
%setup -q -n %{name}-%{version}
%patch0 -p1 -b .offline
%patch1 -p1 -b .tirpc
iconv -f latin1 -t utf8 < COPYRIGHT_W3C > COPYRIGHT_W3C.utf8
touch -r COPYRIGHT_W3C COPYRIGHT_W3C.utf8
mv COPYRIGHT_W3C.utf8 COPYRIGHT_W3C
@ -131,6 +137,9 @@ make check
%changelog
* Mon Jun 18 2018 David Abdurachmanov <david.abdurachmanov@gmail.com> - 3.18.3-5.1.riscv64
- Use libtirpc library for xdr_*
* Tue Jun 05 2018 David Abdurachmanov <david.abdurachmanov@gmail.com> - 3.18.3-5.0.riscv64
- Switch to use %{valgrind_arches}