From 5c2c82ed9b13dfa844f36027fd4faf8a459ec95f Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Oct 30 2018 09:36:33 +0000 Subject: that doesn't work on f29 --- diff --git a/libreoffice.spec b/libreoffice.spec index 721c1bc..3eb8a00 100644 --- a/libreoffice.spec +++ b/libreoffice.spec @@ -16,12 +16,10 @@ %if 0%{?rhel} && 0%{?rhel} < 8 %global libo_use_python3 %{nil} %global libo_python python -%global libo_python_executable %{__python2} %global libo_python_sitearch %{python_sitearch} %else %global libo_use_python3 1 %global libo_python python3 -%global libo_python_executable %{__python3} %global libo_python_sitearch %{python3_sitearch} %endif # rhbz#465664 jar-repacking breaks help by reordering META-INF/MANIFEST.MF @@ -218,7 +216,7 @@ BuildRequires: pkgconfig(xmlsec1-nss) BuildRequires: pkgconfig(xt) BuildRequires: pkgconfig(zlib) BuildRequires: unixODBC-devel -BuildRequires: %{libo_python_executable} +BuildRequires: /usr/bin/python # libs / headers - conditional %if 0%{?fedora} @@ -354,7 +352,7 @@ The shared core libraries and support files for LibreOffice. Summary: Python support for LibreOffice Requires: %{name}-core%{?_isa} = %{epoch}:%{version}-%{release} Requires: %{name}-ure%{?_isa} = %{epoch}:%{version}-%{release} -Requires: %{libo_python_executable} +Requires: %{libo_python}%{?_isa} %description pyuno Python bindings for the LibreOffice UNO component model. Allows scripts both