Compare commits

..

No commits in common. "bde646b17eba4ad5e0e2c7feabea175b72bd4a1c" and "c8" have entirely different histories.

8 changed files with 28 additions and 86 deletions

3
.gitignore vendored
View File

@ -1,2 +1 @@
/raptor2-2.0.14.tar.gz SOURCES/raptor2-2.0.15.tar.gz
/raptor2-2.0.15.tar.gz

View File

@ -1 +1 @@
504231f87024df9aceb90eb957196b557b4b8e38 raptor2-2.0.15.tar.gz 504231f87024df9aceb90eb957196b557b4b8e38 SOURCES/raptor2-2.0.15.tar.gz

View File

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

View File

@ -1,6 +0,0 @@
--- !Policy
product_versions:
- rhel-9
decision_context: osci_compose_gate
rules:
- !PassingTestCaseRule {test_case_name: desktop-qe.desktop-ci.tier1-gating.functional}

View File

@ -1,3 +0,0 @@
xml:
ignore:
- /usr/share/gtk-doc/html/raptor2/raptor2.devhelp2

View File

@ -1 +0,0 @@
a39f6c07ddb20d7dd2ff1f95fa21e2cd raptor2-2.0.15.tar.gz