Use libtirpc for xdr_* functions
Signed-off-by: David Abdurachmanov <david.abdurachmanov@gmail.com>
This commit is contained in:
parent
6cbbb1e463
commit
67e2187011
11
libdap.spec
11
libdap.spec
|
@ -1,7 +1,7 @@
|
||||||
Name: libdap
|
Name: libdap
|
||||||
Summary: The C++ DAP2 library from OPeNDAP
|
Summary: The C++ DAP2 library from OPeNDAP
|
||||||
Version: 3.18.3
|
Version: 3.18.3
|
||||||
Release: 5.0.riscv64%{?dist}
|
Release: 5.1.riscv64%{?dist}
|
||||||
|
|
||||||
License: LGPLv2+
|
License: LGPLv2+
|
||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
|
@ -9,6 +9,9 @@ URL: http://www.opendap.org/
|
||||||
Source0: http://www.opendap.org/pub/source/libdap-%{version}.tar.gz
|
Source0: http://www.opendap.org/pub/source/libdap-%{version}.tar.gz
|
||||||
#Don't run HTTP tests - builders don't have network connections
|
#Don't run HTTP tests - builders don't have network connections
|
||||||
Patch0: libdap-offline.patch
|
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
|
# For autoreconf
|
||||||
BuildRequires: libtool
|
BuildRequires: libtool
|
||||||
|
@ -22,6 +25,7 @@ BuildRequires: libuuid-devel
|
||||||
BuildRequires: libxml2-devel
|
BuildRequires: libxml2-devel
|
||||||
BuildRequires: openssl-devel
|
BuildRequires: openssl-devel
|
||||||
BuildRequires: pkgconfig
|
BuildRequires: pkgconfig
|
||||||
|
BuildRequires: libtirpc-devel
|
||||||
%ifarch %{valgrind_arches}
|
%ifarch %{valgrind_arches}
|
||||||
BuildRequires: valgrind
|
BuildRequires: valgrind
|
||||||
%endif
|
%endif
|
||||||
|
@ -43,6 +47,7 @@ Group: Development/Libraries
|
||||||
Requires: %{name} = %{version}-%{release}
|
Requires: %{name} = %{version}-%{release}
|
||||||
Requires: curl-devel
|
Requires: curl-devel
|
||||||
Requires: libxml2-devel
|
Requires: libxml2-devel
|
||||||
|
Requires: libtirpc-devel
|
||||||
Requires: pkgconfig
|
Requires: pkgconfig
|
||||||
# for the /usr/share/aclocal directory ownership
|
# for the /usr/share/aclocal directory ownership
|
||||||
Requires: automake
|
Requires: automake
|
||||||
|
@ -63,6 +68,7 @@ Documentation of the libdap library.
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{name}-%{version}
|
%setup -q -n %{name}-%{version}
|
||||||
%patch0 -p1 -b .offline
|
%patch0 -p1 -b .offline
|
||||||
|
%patch1 -p1 -b .tirpc
|
||||||
iconv -f latin1 -t utf8 < COPYRIGHT_W3C > COPYRIGHT_W3C.utf8
|
iconv -f latin1 -t utf8 < COPYRIGHT_W3C > COPYRIGHT_W3C.utf8
|
||||||
touch -r COPYRIGHT_W3C COPYRIGHT_W3C.utf8
|
touch -r COPYRIGHT_W3C COPYRIGHT_W3C.utf8
|
||||||
mv COPYRIGHT_W3C.utf8 COPYRIGHT_W3C
|
mv COPYRIGHT_W3C.utf8 COPYRIGHT_W3C
|
||||||
|
@ -131,6 +137,9 @@ make check
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%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
|
* Tue Jun 05 2018 David Abdurachmanov <david.abdurachmanov@gmail.com> - 3.18.3-5.0.riscv64
|
||||||
- Switch to use %{valgrind_arches}
|
- Switch to use %{valgrind_arches}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue