Accepting request 959449 from home:dspinella:branches:LibreOffice:Factory

- Fix build on SLE-12-SP5
- Remove unneeded vulkan dependency

OBS-URL: https://build.opensuse.org/request/show/959449
OBS-URL: https://build.opensuse.org/package/show/LibreOffice:Factory/libixion?expand=0&rev=42
This commit is contained in:
Danilo Spinella 2022-03-04 13:41:51 +00:00 committed by Git OBS Bridge
parent 1fb9a98d5e
commit b4d31b77a8
2 changed files with 13 additions and 1 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Fri Mar 4 13:07:03 UTC 2022 - Danilo Spinella <danilo.spinella@suse.com>
- Fix build on SLE-12-SP5
- Remove unneeded vulkan dependency
-------------------------------------------------------------------
Thu Jan 27 13:22:22 UTC 2022 - Fridrich Strba <fstrba@suse.com>

View File

@ -37,13 +37,14 @@ BuildRequires: pkgconfig
BuildRequires: pkgconfig(mdds-2.0)
BuildRequires: pkgconfig(python3)
BuildRequires: pkgconfig(spdlog) >= 0.16.0
BuildRequires: pkgconfig(vulkan) >= 1.2.0
%if 0%{?suse_version} > 1325
BuildRequires: libboost_filesystem-devel
BuildRequires: libboost_program_options-devel
BuildRequires: libboost_system-devel
%else
BuildRequires: boost-devel
BuildRequires: gcc11
BuildRequires: gcc11-c++
%endif
%description
@ -88,9 +89,14 @@ Python 3 bindings for %{name}.
%build
libtoolize --force --copy
autoreconf -fi
%if 0%{?suse_version} < 1500
export CC=gcc-11
export CXX=g++-11
%endif
%configure \
--disable-silent-rules \
--disable-static \
--disable-vulkan \
--docdir=%{_docdir}/%{name}
%make_build