diff --git a/redland.spec b/redland.spec index ddf549a..ce368a5 100644 --- a/redland.spec +++ b/redland.spec @@ -1,7 +1,7 @@ Name: redland Version: 1.0.17 -Release: 26%{?dist} +Release: 27%{?dist} Summary: RDF Application Framework License: LGPLv2+ or ASL 2.0 @@ -16,6 +16,7 @@ BuildRequires: make BuildRequires: curl-devel BuildRequires: gcc-c++ BuildRequires: gtk-doc +BuildRequires: libdb-devel BuildRequires: libtool BuildRequires: libtool-ltdl-devel BuildRequires: libxml2-devel >= 2.4.0 @@ -24,7 +25,6 @@ BuildRequires: raptor2-devel BuildRequires: rasqal-devel >= 0.9.26 %if ! 0%{?rhel} -BuildRequires: libdb-devel BuildRequires: libpq-devel BuildRequires: mariadb-connector-c-devel BuildRequires: sqlite-devel @@ -83,11 +83,13 @@ sed -i -e 's|"/lib /usr/lib|"/%{_lib} %{_libdir}|' configure %build +# rhbz#1952816 we need at last --with-bdb so rdfproc can work, e.g. rebuild of hunspell-ur + %if 0%{?rhel} -%define distrooptions --disable-digests --without-bdb --without-sqlite --without-mysql --without-postgresql +%define distrooptions --disable-digests --without-sqlite --without-mysql --without-postgresql %else # fedora -%define distrooptions --with-bdb --with-sqlite --with-mysql --with-postgresql +%define distrooptions --with-sqlite --with-mysql --with-postgresql %endif export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" @@ -95,6 +97,7 @@ export CXXFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" %configure \ --enable-release \ --disable-static \ + --with-bdb \ --without-threestone \ --without-virtuoso \ %{distrooptions} \ @@ -156,6 +159,9 @@ make check %changelog +* Fri Apr 23 2021 Caolán McNamara - 1.0.7-27 +- rhbz#1952816 rdfproc: Failed to open hashes storage + * Mon Mar 22 2021 Caolán McNamara - 1.0.7-26 - rhbz#1936659 disable rhel redland digests and stub deprecated librdf_uri_get_digest