|
|
|
@ -2,7 +2,7 @@
|
|
|
|
|
Summary: RDF Parser Toolkit for Redland
|
|
|
|
|
Name: raptor2
|
|
|
|
|
Version: 2.0.15
|
|
|
|
|
Release: 30%{?dist}
|
|
|
|
|
Release: 16%{?dist}
|
|
|
|
|
|
|
|
|
|
License: GPLv2+ or LGPLv2+ or ASL 2.0
|
|
|
|
|
Source: http://download.librdf.org/source/raptor2-%{version}.tar.gz
|
|
|
|
@ -14,17 +14,12 @@ Patch1: 0001-Calcualte-max-nspace-declarations-correctly-for-XML-.patch
|
|
|
|
|
# https://bugs.librdf.org/mantis/view.php?id=650
|
|
|
|
|
Patch2: 0001-CVE-2020-25713-raptor2-malformed-input-file-can-lead.patch
|
|
|
|
|
|
|
|
|
|
## upstreamable patches
|
|
|
|
|
|
|
|
|
|
BuildRequires: make
|
|
|
|
|
BuildRequires: gcc-c++
|
|
|
|
|
BuildRequires: curl-devel
|
|
|
|
|
%if ! 0%{?flatpak}
|
|
|
|
|
BuildRequires: gtk-doc
|
|
|
|
|
%endif
|
|
|
|
|
BuildRequires: libicu-devel
|
|
|
|
|
BuildRequires: pkgconfig(libxslt)
|
|
|
|
|
%if ! 0%{?rhel}
|
|
|
|
|
BuildRequires: yajl-devel
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
# when /usr/bin/rappor moved here -- rex
|
|
|
|
|
Conflicts: raptor < 1.4.21-10
|
|
|
|
@ -51,24 +46,21 @@ sed -i -e 's|"/lib /usr/lib|"/%{_lib} %{_libdir}|' configure
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
|
|
|
|
|
%if 0%{?rhel}
|
|
|
|
|
%define distrooptions --with-yajl=no
|
|
|
|
|
%else
|
|
|
|
|
%define distrooptions --with-yajl=yes
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%configure \
|
|
|
|
|
--disable-static \
|
|
|
|
|
--enable-release \
|
|
|
|
|
--disable-static --enable-release \
|
|
|
|
|
--with-icu-config=/usr/bin/icu-config \
|
|
|
|
|
%{distrooptions}
|
|
|
|
|
%if 0%{?flatpak}
|
|
|
|
|
--disable-gtk-doc \
|
|
|
|
|
%endif
|
|
|
|
|
--with-yajl=no
|
|
|
|
|
|
|
|
|
|
%make_build
|
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
%make_install
|
|
|
|
|
rm -rf %{buildroot}
|
|
|
|
|
|
|
|
|
|
make DESTDIR=%{buildroot} install
|
|
|
|
|
|
|
|
|
|
## unpackaged files
|
|
|
|
|
rm -fv %{buildroot}%{_libdir}/lib*.la
|
|
|
|
@ -80,11 +72,16 @@ test "$(pkg-config --modversion raptor2)" = "%{version}"
|
|
|
|
|
make check
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%ldconfig_scriptlets
|
|
|
|
|
%clean
|
|
|
|
|
rm -rf %{buildroot}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%doc AUTHORS ChangeLog NEWS README
|
|
|
|
|
%license COPYING* LICENSE.txt LICENSE-2.0.txt
|
|
|
|
|
%doc COPYING* LICENSE.txt LICENSE-2.0.txt
|
|
|
|
|
%{_libdir}/libraptor2.so.0*
|
|
|
|
|
%{_bindir}/rapper
|
|
|
|
|
%{_mandir}/man1/rapper*
|
|
|
|
@ -101,62 +98,18 @@ make check
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Tue Aug 10 2021 Mohan Boddu <mboddu@redhat.com> - 2.0.15-30
|
|
|
|
|
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
|
|
|
|
Related: rhbz#1991688
|
|
|
|
|
|
|
|
|
|
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 2.0.15-29
|
|
|
|
|
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
|
|
|
|
* Tue Nov 24 2020 Caolán McNamara <caolanm@redhat.com> - 2.0.15-16
|
|
|
|
|
- Resolves: rhbz#1900904 CVE-2020-25713 raptor2: malformed input file can lead to a segfault
|
|
|
|
|
|
|
|
|
|
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.15-28
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
* Tue Nov 17 2020 Caolán McNamara <caolanm@redhat.com> - 2.0.15-15
|
|
|
|
|
- Resolves: rhbz#1896534 CVE-2017-18926 raptor: heap-based buffer overflow
|
|
|
|
|
|
|
|
|
|
* Mon Jan 11 2021 Caolán McNamara <caolanm@redhat.com> - 2.0.15-27
|
|
|
|
|
- Resolves: rhbz#1900686 CVE-2020-25713 malformed input file can lead to a segfault
|
|
|
|
|
* Mon Nov 16 2020 Caolán McNamara <caolanm@redhat.com> - 2.0.15-14
|
|
|
|
|
- Resolves: rhbz#1896340 Suppress documentation in Flatpak builds
|
|
|
|
|
|
|
|
|
|
* Mon Aug 10 2020 Caolán McNamara <caolanm@redhat.com> - 2.0.15-26
|
|
|
|
|
* Tue Aug 21 2018 Caolán McNamara <caolanm@redhat.com> - 2.0.15-13
|
|
|
|
|
- Resolves: rhbz#1560206 drop requirement on yajl
|
|
|
|
|
|
|
|
|
|
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.15-25
|
|
|
|
|
- Second attempt - Rebuilt for
|
|
|
|
|
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.15-24
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Fri May 15 2020 Pete Walter <pwalter@fedoraproject.org> - 2.0.15-23
|
|
|
|
|
- Rebuild for ICU 67
|
|
|
|
|
|
|
|
|
|
* Mon Feb 17 2020 Rex Dieter <rdieter@fedoraproject.org> - 2.0.15-22
|
|
|
|
|
- backport crash fix
|
|
|
|
|
|
|
|
|
|
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.15-21
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Fri Nov 01 2019 Pete Walter <pwalter@fedoraproject.org> - 2.0.15-20
|
|
|
|
|
- Rebuild for ICU 65
|
|
|
|
|
|
|
|
|
|
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.15-19
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.15-18
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Wed Jan 23 2019 Pete Walter <pwalter@fedoraproject.org> - 2.0.15-17
|
|
|
|
|
- Rebuild for ICU 63
|
|
|
|
|
|
|
|
|
|
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.15-16
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Tue Jul 10 2018 Pete Walter <pwalter@fedoraproject.org> - 2.0.15-15
|
|
|
|
|
- Rebuild for ICU 62
|
|
|
|
|
|
|
|
|
|
* Mon Apr 30 2018 Pete Walter <pwalter@fedoraproject.org> - 2.0.15-14
|
|
|
|
|
- Rebuild for ICU 61.1
|
|
|
|
|
|
|
|
|
|
* Wed Mar 07 2018 Rex Dieter <rdieter@fedoraproject.org> - 2.0.15-13
|
|
|
|
|
- BR: gcc-c++, use %%make_build %%make_install %%license %%ldconfig_scriptlets
|
|
|
|
|
|
|
|
|
|
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.15-12
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|