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