diff --git a/libreoffice.changes b/libreoffice.changes index 51ff4b0..8f3ff29 100644 --- a/libreoffice.changes +++ b/libreoffice.changes @@ -10,6 +10,11 @@ Mon Jul 21 06:58:44 UTC 2014 - tchvatal@suse.com - Version bump to 4.3.0.3: * Various small bugfixes. +------------------------------------------------------------------- +Sun Jul 20 15:29:03 UTC 2014 - arnaud.versini@gmail.com + +- Use Python3 instead of Python 2 for pyuno. + ------------------------------------------------------------------- Fri Jul 11 08:26:26 UTC 2014 - tchvatal@suse.com diff --git a/libreoffice.spec b/libreoffice.spec index a85b495..457aaea 100644 --- a/libreoffice.spec +++ b/libreoffice.spec @@ -190,9 +190,9 @@ BuildRequires: perl-Archive-Zip BuildRequires: perl-Compress-Zlib BuildRequires: postgresql-devel BuildRequires: procps -BuildRequires: python-devel -BuildRequires: python-lxml -BuildRequires: python-xml +BuildRequires: python3-devel +BuildRequires: python3-lxml +BuildRequires: python3-xml BuildRequires: recode BuildRequires: rhino BuildRequires: sac @@ -910,11 +910,11 @@ CFLAGS="$ARCH_FLAGS" CXXFLAGS="$ARCH_FLAGS" export ARCH_FLAGS CFLAGS CXXFLAGS -# Whack in our python2 so we don't have to use internal one +# Whack in our python3 so we don't have to use internal one # which is quite nightmare. -export PYTHON=%{_bindir}/python2 -export PYTHON_CFLAGS=`pkg-config --cflags python2` -export PYTHON_LIBS=`pkg-config --libs python2` +export PYTHON=%{_bindir}/python3 +export PYTHON_CFLAGS=`pkg-config --cflags python3` +export PYTHON_LIBS=`pkg-config --libs python3` # do not run configure in autogen but use macro later export NOCONFIGURE=yes