Compare commits

...

11 Commits
master ... f35

Author SHA1 Message Date
Fedora Release Engineering 53f00cbd7a - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-07-23 17:56:45 +00:00
Guido Aulisi 8b602d47e0 Update to 0.16.8
Fix a potential BTree crash with GCC 10
2021-02-28 15:53:41 +01:00
Fedora Release Engineering e470a3a529 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-01-27 20:44:35 +00:00
Guido Aulisi f1c70c8c42 Do not install license file into doc directory 2021-01-17 10:48:39 +01:00
Guido Aulisi 497a421371 Update to 0.16.6 2020-10-04 15:24:18 +02:00
Fedora Release Engineering 847c91c07d - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-07-29 11:08:07 +00:00
Guido Aulisi 015250a376 Rebuilt for possible GCC 10.1 bug on power64, arm and s390 2020-05-29 08:37:10 +02:00
Guido Aulisi b94b1d6636 Rebuilt with GCC 10.1 2020-05-27 14:00:19 +02:00
Guido Aulisi 0a9adfc498 Rebuilt for possible GCC 10 bug on power64 and arm
On ppc64le this piece of code in sord.c does not correctly
evaluate the exit condition when O2 optimization is used.
It seems that the end of the iterator is never evaluated.

    // Free quads
    ZixBTreeIter* t = zix_btree_begin(model->indices[DEFAULT_ORDER]);
    for (; !zix_btree_iter_is_end(t); zix_btree_iter_increment(t)) {
        free(zix_btree_get(t));
    }
    zix_btree_iter_free(t);

See sord.c line 748
2020-03-15 01:26:32 +01:00
Fedora Release Engineering a44f56b53c - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-01-30 23:53:30 +00:00
Guido Aulisi 31bfeb0d13 Update to 0.16.4
Use python3
2019-12-06 21:10:58 +01:00
4 changed files with 2689 additions and 11 deletions

3
.gitignore vendored
View File

@ -5,3 +5,6 @@
/sord-0.12.2.tar.bz2
/sord-0.16.0.tar.bz2
/sord-0.16.2.tar.bz2
/sord-0.16.4.tar.bz2
/sord-0.16.6.tar.bz2
/sord-0.16.8.tar.bz2

2642
sord-update-zix.patch Normal file

File diff suppressed because it is too large Load Diff

View File

@ -2,20 +2,21 @@
%{!?_pkgdocdir: %global _pkgdocdir %{_docdir}/%{name}-%{version}}
Name: sord
Version: 0.16.2
Release: 4%{?dist}
Version: 0.16.8
Release: 2%{?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
BuildRequires: graphviz
BuildRequires: glib2-devel
BuildRequires: python2
BuildRequires: python2-devel
BuildRequires: python3
BuildRequires: serd-devel >= 0.30.0
BuildRequires: gcc
BuildRequires: gcc-c++
@ -37,8 +38,8 @@ Framework (RDF) data in memory.
This package contains the headers and development libraries for %{name}.
%prep
%setup -q
# we'll run ldconfig, and add our optflags
%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' ]\
|cflags = [ '-DSORD_INTERNAL' ] + '%optflags'.split(' ') |" wscript
@ -46,7 +47,7 @@ sed -i -e "s|bld.add_post_fun(autowaf.run_ldconfig)||" \
%build
%set_build_flags
export LINKFLAGS="%{__global_ldflags}"
%{__python2} waf configure \
%{python3} waf configure \
--prefix=%{_prefix} \
--libdir=%{_libdir} \
--mandir=%{_mandir} \
@ -54,12 +55,12 @@ export LINKFLAGS="%{__global_ldflags}"
--docdir=%{_pkgdocdir} \
--test \
--docs
%{__python2} waf build -v %{?_smp_mflags}
%{python3} waf build -v %{?_smp_mflags}
%install
DESTDIR=%{buildroot} %{__python2} waf install
DESTDIR=%{buildroot} %{python3} waf install
chmod +x %{buildroot}%{_libdir}/lib%{name}-%{maj}.so.*
install -pm 644 AUTHORS NEWS README COPYING %{buildroot}%{_pkgdocdir}
install -pm 644 AUTHORS NEWS README.md %{buildroot}%{_pkgdocdir}
%files
%{_pkgdocdir}
@ -79,6 +80,38 @@ install -pm 644 AUTHORS NEWS README COPYING %{buildroot}%{_pkgdocdir}
%{_mandir}/man3/%{name}*.3*
%changelog
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.16.8-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* 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
* Sun Oct 04 2020 Guido Aulisi <guido.aulisi@gmail.com> - 0.16.6-1
- Update to 0.16.6
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.16.4-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Fri May 29 2020 Guido Aulisi <guido.aulisi@gmail.com> - 0.16.4-5
- Rebuilt for possible GCC 10.1 bug on power64, arm and s390
* Wed May 27 2020 Guido Aulisi <guido.aulisi@gmail.com> - 0.16.4-4
- Rebuilt with GCC 10.1
* Sun Mar 15 2020 Guido Aulisi <guido.aulisi@gmail.com> - 0.16.4-3
- Rebuilt for possible GCC 10 bug on power64 and arm
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.16.4-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Fri Dec 06 2019 Guido Aulisi <guido.aulisi@gmail.com> - 0.16.4-1
- Update to 0.16.4
- Use python3
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.16.2-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild

View File

@ -1 +1 @@
SHA512 (sord-0.16.2.tar.bz2) = fe143c07ed18c15ffaf2461ca587df76e365a075f5d93f5eaa4c26196e0b1dd59d24d16e176de3664a2658377a2934083af5742c80884e8e7dd201dcaccb9698
SHA512 (sord-0.16.8.tar.bz2) = 24ed50de8e5bb321e557bac6d3e441b2ed49adabf828bf0e1b33a080c89306dde80443dc8b563098fcc184c4d6e53b7e716b523ddccdf56d08301d1b0120f2b2