SHA256
8
0
forked from pool/dbh

Accepting request 712739 from devel:libraries:c_c++

OBS-URL: https://build.opensuse.org/request/show/712739
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/dbh?expand=0&rev=22
This commit is contained in:
2019-07-11 11:13:10 +00:00
committed by Git OBS Bridge
5 changed files with 27 additions and 34 deletions

View File

@@ -1,17 +0,0 @@
reported upstream
https://savannah.gnu.org/bugs/index.php?50063
https://sourceforge.net/p/dbh/bugs/8/
Index: libdbh2-5.0.19/configure
===================================================================
--- libdbh2-5.0.19.orig/configure
+++ libdbh2-5.0.19/configure
@@ -2625,7 +2625,7 @@ if test x"$os" != x ; then
PKG_CONF_DIR="$datadir/pkgconfig"
fi
-os=`uname -a | grep fc`
+os=`uname -a | grep fc-this-was-matching-kernel-SHA1sum`
if test x"$os" != x ; then
PKG_CONF_DIR="$datadir/pkgconfig"
fi

View File

@@ -1,3 +1,18 @@
-------------------------------------------------------------------
Fri Jun 28 14:27:01 UTC 2019 - Marcel Kuehlhorn <tux93@opensuse.org>
- Update to 5.0.22
* Added function dbh_find_top(), variant for dbh_find()
* Added PKGBUILD for easy cross compilation from ArchLinux
* Fixes for mingw-w64 cross compilation on ArchLinux box.
* Fixes dbh_set_data() not updating data when growing record size
* Fixes strncmp() should be replaced by memcmp()
* Fixes Excessive syscalls with tiny read() calls
* This version reduces calls to read() from 3 to 1 when
maximum record size is less than 64KB, falling back to
5.0.21 behavior when dealing with records with greater size.
- Remove buildfix.patch, was fixed Upstream
-------------------------------------------------------------------
Tue Jan 17 08:40:13 UTC 2017 - bwiedemann@suse.com

View File

@@ -1,7 +1,7 @@
#
# spec file for package dbh
#
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -12,32 +12,29 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: dbh
%define lname lib%{name}2
Summary: Disk-Based Hash Library
License: GPL-2.0+
License: GPL-2.0-or-later
Group: Development/Libraries/C and C++
Version: 5.0.19
Version: 5.0.22
Release: 0
Url: http://www.gnu.org/software/libdbh/
Url: https://www.gnu.org/software/libdbh/
Source: http://downloads.sf.net/dbh/%{lname}-%{version}.tar.gz
Source: https://downloads.sf.net/dbh/%{lname}-%{version}.tar.gz
Patch0: dbh-bigendian.patch
# PATCH-FIX-OPENSUSE -- bmwiedemann - make builds reproducible
Patch1: reproducible.patch
# PATCH-FIX-UPSTREAM -- https://savannah.gnu.org/bugs/index.php?50063
Patch2: buildfix.patch
BuildRequires: fdupes
BuildRequires: gtk-doc
BuildRequires: libtool
BuildRequires: pkg-config
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
%description
Disk-based hashes is a method to create multidimensional binary trees
on disk. This library permits the extension of the database concept to
a plethora of electronic data, such as graphic information. With the
@@ -79,7 +76,6 @@ construct optimized databases for particular applications.
%setup -q -n %{lname}-%{version}
%patch0 -p1
%patch1 -p1
%patch2 -p1
%build
%configure --disable-static
@@ -97,12 +93,11 @@ rm -rf %{buildroot}/%{_datadir}/dbh
make check
%files -n %lname
%defattr(-,root,root)
%_libdir/lib*.so.*
%files devel
%defattr(-,root,root)
%doc AUTHORS COPYING ChangeLog README examples/*.c examples/Makefile*
%doc AUTHORS ChangeLog README examples/*.c examples/Makefile*
%license COPYING
%{_datadir}/gtk-doc
%{_includedir}/*
%{_libdir}/lib*.so

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:2e534f24c4df99f6e2ba726e3982d7361b56361ed5eb16e7dfdc07fac26ceba2
size 1608949

3
libdbh2-5.0.22.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:8df54e7d1c1d071e385b59256b42a9538cb1b744b11ecc022e188d99046e91d7
size 1641669