diff --git a/liborcus-noexamples.patch b/liborcus-noexamples.patch new file mode 100644 index 0000000..01f9cdf --- /dev/null +++ b/liborcus-noexamples.patch @@ -0,0 +1,8 @@ +--- a/Makefile.am 2018-09-14 22:51:18.000000000 +0100 ++++ b/Makefile.am 2020-03-17 15:37:37.493186784 +0000 +@@ -1,4 +1,4 @@ +-SUBDIRS = src include benchmark doc_example ++SUBDIRS = src include benchmark + ACLOCAL_AMFLAGS = -I m4 + + pcfiles = liborcus-@ORCUS_API_VERSION@.pc diff --git a/liborcus.spec b/liborcus.spec index efac633..18fdcbf 100644 --- a/liborcus.spec +++ b/liborcus.spec @@ -1,19 +1,30 @@ %global apiversion 0.16 +%if 0%{?rhel} + +# build conversion tools +%bcond_with convtools +# build python3 bindings +%bcond_with python + +%else # build conversion tools %bcond_without convtools # build python3 bindings %bcond_without python +%endif + Name: liborcus Version: 0.16.1 -Release: 2%{?dist} +Release: 4%{?dist} Summary: Standalone file import filter library for spreadsheet documents License: MPLv2.0 URL: https://gitlab.com/orcus/orcus Source0: https://kohei.us/files/orcus/src/%{name}-%{version}.tar.xz Patch0: %{name}-gcc11.patch +Patch1: liborcus-noexamples.patch BuildRequires: boost-devel BuildRequires: doxygen @@ -187,6 +198,12 @@ make check %{?_smp_mflags} %doc doc/_doxygen/html %changelog +* Tue Dec 08 2020 Caolán McNamara - 0.16.1-4 +- fix build without libixion under rhel + +* Wed Dec 02 2020 Caolán McNamara - 0.16.1-3 +- build without libixion under rhel + * Mon Oct 19 2020 Jeff Law - 0.16.1-2 - Fix missing headers for gcc-11