Compare commits

...

2 Commits
master ... f16

Author SHA1 Message Date
Orion Poplawski 2047426ddd Add upstream patch to fix failing test 2011-12-28 10:29:43 -07:00
Orion Poplawski faa5721565 Add patch for current libcurl 2011-11-29 13:35:06 -07:00
3 changed files with 33 additions and 3 deletions

11
libdap-curl.patch Normal file
View File

@ -0,0 +1,11 @@
diff -up libdap-3.11.1/HTTPConnect.h.curl libdap-3.11.1/HTTPConnect.h
--- libdap-3.11.1/HTTPConnect.h.curl 2011-04-29 07:19:43.000000000 -0600
+++ libdap-3.11.1/HTTPConnect.h 2011-11-22 13:11:58.059715070 -0700
@@ -30,7 +30,6 @@
#include <string>
#include <curl/curl.h>
-#include <curl/types.h>
#include <curl/easy.h>
#ifndef _rc_reader_h_

7
libdap-test.patch Normal file
View File

@ -0,0 +1,7 @@
--- libdap-3.11.1/tests/expr-testsuite/test.6b.base 2011-04-29 07:19:29.000000000 -0600
+++ libdap/tests/expr-testsuite/test.6b.base 2011-12-28 10:12:10.266421449 -0700
@@ -1,2 +1,2 @@
Error: The number of dimensions in the constraint for i must match the number in the array.
-
\ No newline at end of file
+

View File

@ -1,14 +1,18 @@
Name: libdap
Summary: The C++ DAP2 library from OPeNDAP
Version: 3.11.0
Release: 2%{?dist}
Release: 4%{?dist}
License: LGPLv2+
Group: Development/Libraries
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
Patch2: libdap-3.10.2-offline.patch
Patch0: libdap-3.10.2-offline.patch
# Patch for recent libcurl
Patch1: libdap-curl.patch
# Upsteam patch to test output to fix failing test
Patch2: libdap-test.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@ -58,7 +62,9 @@ Documentation of the libdap library.
%prep
%setup -q
%patch2 -p1 -b .offline
%patch0 -p1 -b .offline
%patch1 -p1 -b .curl
%patch2 -p1 -b .test
iconv -f latin1 -t utf8 < COPYRIGHT_W3C > COPYRIGHT_W3C.utf8
touch -r COPYRIGHT_W3C COPYRIGHT_W3C.utf8
mv COPYRIGHT_W3C.utf8 COPYRIGHT_W3C
@ -124,6 +130,12 @@ rm -rf $RPM_BUILD_ROOT
%changelog
* Wed Dec 28 2011 Orion Poplawski <orion@cora.nwra.com> - 3.11.0-4
- Add upstream patch to fix failing test
* Tue Nov 28 2011 Orion Poplawski <orion@cora.nwra.com> - 3.11.0-3
- Add patch for current libcurl
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.11.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild