|
|
|
@ -2,13 +2,15 @@
|
|
|
|
|
%{!?_pkgdocdir: %global _pkgdocdir %{_docdir}/%{name}-%{version}}
|
|
|
|
|
|
|
|
|
|
Name: sord
|
|
|
|
|
Version: 0.16.6
|
|
|
|
|
Release: 2%{?dist}
|
|
|
|
|
Version: 0.16.8
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Summary: A lightweight Resource Description Framework (RDF) C library
|
|
|
|
|
|
|
|
|
|
License: ISC
|
|
|
|
|
URL: http://drobilla.net/software/sord/
|
|
|
|
|
Source0: http://download.drobilla.net/%{name}-%{version}.tar.bz2
|
|
|
|
|
# This fixes a potential BTree crash with GCC 10, patch from upstream
|
|
|
|
|
Patch0: %{name}-update-zix.patch
|
|
|
|
|
|
|
|
|
|
BuildRequires: boost-devel
|
|
|
|
|
BuildRequires: doxygen
|
|
|
|
@ -36,7 +38,7 @@ Framework (RDF) data in memory.
|
|
|
|
|
This package contains the headers and development libraries for %{name}.
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%setup -q
|
|
|
|
|
%autosetup -p1
|
|
|
|
|
# Do not run ldconfig, and add our optflags
|
|
|
|
|
sed -i -e "s|bld.add_post_fun(autowaf.run_ldconfig)||" \
|
|
|
|
|
-e "s|cflags = [ '-DSORD_INTERNAL' ]\
|
|
|
|
@ -44,12 +46,6 @@ sed -i -e "s|bld.add_post_fun(autowaf.run_ldconfig)||" \
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%set_build_flags
|
|
|
|
|
# Work around a possible GCC 10.1 bug
|
|
|
|
|
# GCC 10.1 crashes on these arches in for loop with ZixBTreeIter
|
|
|
|
|
%ifarch %{power64} %{arm} aarch64 s390 s390x
|
|
|
|
|
CFLAGS+=" -O1"
|
|
|
|
|
CXXFLAGS+=" -O1"
|
|
|
|
|
%endif
|
|
|
|
|
export LINKFLAGS="%{__global_ldflags}"
|
|
|
|
|
%{python3} waf configure \
|
|
|
|
|
--prefix=%{_prefix} \
|
|
|
|
@ -84,6 +80,10 @@ install -pm 644 AUTHORS NEWS README.md %{buildroot}%{_pkgdocdir}
|
|
|
|
|
%{_mandir}/man3/%{name}*.3*
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Sun Feb 28 2021 Guido Aulisi <guido.aulisi@gmail.com> - 0.16.8-1
|
|
|
|
|
- Update to 0.16.8
|
|
|
|
|
- Fix a potential BTree crash with GCC 10
|
|
|
|
|
|
|
|
|
|
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.16.6-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|