From 81feaacfb479858d18c92b24338c1880f54cdf92 Mon Sep 17 00:00:00 2001 From: David Tardon Date: Feb 16 2018 17:22:31 +0000 Subject: fix condition --- diff --git a/libreoffice.spec b/libreoffice.spec index 3bf2ac9..92b255f 100644 --- a/libreoffice.spec +++ b/libreoffice.spec @@ -295,7 +295,7 @@ Patch500: 0001-disable-libe-book-support.patch %global name %{oldname} # rhbz#1085420 make sure we do not provide bundled libraries -%if 0%{?rhel} && 0%{?rhel} < 8 +%if 0%{?rhel} %global libo_bundled_libs_filter ^liborcus(-parser)?-0\\.13\\.so.*$ %global __provides_exclude %{libo_bundled_libs_filter} %global __requires_exclude %{libo_bundled_libs_filter} @@ -1980,7 +1980,7 @@ update-desktop-database %{_datadir}/applications &> /dev/null || : %{baseinstdir}/program/libdatelo.so %{baseinstdir}/program/libforlo.so %{baseinstdir}/program/libforuilo.so -%if 0%{?rhel} && 0%{?rhel} < 8 +%if 0%{?rhel} %{baseinstdir}/program/liborcus-0.12.so.* %{baseinstdir}/program/liborcus-parser-0.12.so.* %endif