Compare commits

...

No commits in common. 'i10ce' and 'epel9' have entirely different histories.
i10ce ... epel9

25
.gitignore vendored

@ -1 +1,24 @@
SOURCES/libdap-3.21.0.27.tar.gz
libdap-3.10.2.tar.gz
/libdap-3.11.0.tar.gz
/libdap-3.11.1.tar.gz
/libdap-3.11.3.tar.gz
/libdap-3.11.7.tar.gz
/libdap-3.13.1.tar.gz
/libdap-3.13.3.tar.gz
/libdap-3.14.0.tar.gz
/libdap-3.15.1.tar.gz
/libdap-3.16.0.tar.gz
/libdap-3.17.0.tar.gz
/version-3.17.1.tar.gz
/libdap-3.17.2.tar.gz
/libdap-3.18.1.tar.gz
/libdap-3.18.2.tar.gz
/libdap-3.18.3.tar.gz
/libdap-3.19.1.tar.gz
/libdap-3.20.3.tar.gz
/libdap-3.20.4.tar.gz
/libdap-3.20.5.tar.gz
/libdap-3.20.6.tar.gz
/libdap-3.20.8.tar.gz
/libdap-3.20.9.tar.gz
/libdap-3.20.10.tar.gz

@ -1 +0,0 @@
a466a11aa3c83fb31f90c09d06bcc7da56c2be3c SOURCES/libdap-3.21.0.27.tar.gz

@ -0,0 +1,26 @@
From 5ccb4f14b0c620bf0271b00cb47770bca4c2439c Mon Sep 17 00:00:00 2001
From: ndp-opendap <ndp@opendap.org>
Date: Fri, 8 Jul 2022 08:23:02 -0700
Subject: [PATCH] Fixing type issue in HTTPCache.cc
---
HTTPCache.cc | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/HTTPCache.cc b/HTTPCache.cc
index 56e912be..f2b34214 100644
--- a/HTTPCache.cc
+++ b/HTTPCache.cc
@@ -1028,10 +1028,10 @@ HTTPCache::read_metadata(const string &cachename, vector<string> &headers)
"Could not open named cache entry meta data file.");
}
- const unsigned long line_buf_len = 1024;
+ const size_t line_buf_len = 1024;
char line[line_buf_len];
while (!feof(md) && fgets(line, line_buf_len, md)) {
- line[min(line_buf_len, strnlen(line, line_buf_len))-1] = '\0'; // erase newline
+ line[std::min(line_buf_len, strnlen(line, line_buf_len))-1] = '\0'; // erase newline
headers.push_back(string(line));
}

@ -1,15 +1,15 @@
Name: libdap
Summary: The C++ DAP2 and DAP4 library from OPeNDAP
Version: 3.21.0.27
Summary: The C++ DAP2 library from OPeNDAP
Version: 3.20.10
Release: 1%{?dist}
%global libdap_tag 3.21.0-27
License: LGPL-2.1-or-later
License: LGPLv2+
URL: http://www.opendap.org/
Source0: https://github.com/OPENDAP/libdap4/archive/%{libdap_tag}/%{name}-%{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
Patch0: libdap-offline.patch
# Fix for i686 build
Patch1: https://github.com/OPENDAP/libdap4/pull/192.patch
BuildRequires: make
BuildRequires: gcc-c++
@ -26,7 +26,7 @@ BuildRequires: libuuid-devel
BuildRequires: libxml2-devel
BuildRequires: openssl-devel
BuildRequires: pkgconfig
%ifarch %{valgrind_arches}
%ifnarch s390 %{mips}
BuildRequires: valgrind
%endif
@ -34,11 +34,11 @@ Provides: bundled(gnulib)
%description
The libdap++ library contains an implementation of DAP2 and DAP4. This
package contains the library, dap-config, and getdap. The script
dap-config simplifies using the library in other projects. The getdap
utility is a simple command-line tool to read from DAP2 servers. It is
built using the library and demonstrates simple uses of it.
The libdap++ library contains an implementation of DAP2. This package
contains the library, dap-config, and getdap. The script dap-config
simplifies using the library in other projects. The getdap utility is a
simple command-line tool to read from DAP2 servers. It is built using the
library and demonstrates simple uses of it.
%package devel
@ -63,7 +63,7 @@ Documentation of the libdap library.
%prep
%autosetup -n libdap4-%{libdap_tag} -p1
%autosetup -n %{name}-%{version} -p1
iconv -f latin1 -t utf8 < COPYRIGHT_W3C > COPYRIGHT_W3C.utf8
touch -r COPYRIGHT_W3C COPYRIGHT_W3C.utf8
mv COPYRIGHT_W3C.utf8 COPYRIGHT_W3C
@ -131,28 +131,6 @@ make check || :
%changelog
* Tue Dec 24 2024 Dmitriy Samoylik <samoylikdv@msvsphere-os.ru> - 3.21.0.27-1
- Rebuilt for MSVSphere 10
* Fri Feb 23 2024 Richard W.M. Jones <rjones@redhat.com> - 3.21.0.27-1
- New upstream version 3.21.0-27, required by bes (RHBZ#1328287)
- Remove old patches
* Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 3.20.10-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 3.20.10-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 3.20.10-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 3.20.10-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 3.20.10-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Fri Jul 01 2022 Orion Poplawski <orion@nwra.com> - 3.20.10-1
- Update to 3.20.10

@ -0,0 +1 @@
SHA512 (libdap-3.20.10.tar.gz) = a3e58550eb4153a3c9c11fcfba56d87e56273ada6c25c78f7bf04d38f533dd873d124ef52e5c8fa4b648c0bb08ad7295f06c3d23fa09abeea0b169bd03f95117
Loading…
Cancel
Save