From c3b53e9df256e9be1faf5e9e39682ff63e3ee355 Mon Sep 17 00:00:00 2001 From: Mike FABIAN Date: Mon, 22 Jun 2020 10:16:33 +0200 Subject: [PATCH] Byte compile python files namually see: https://fedoraproject.org/wiki/Changes/No_more_automagic_Python_bytecompilation_phase_3 --- ibus-table.spec | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/ibus-table.spec b/ibus-table.spec index e0fac1f..4fa0992 100644 --- a/ibus-table.spec +++ b/ibus-table.spec @@ -1,10 +1,6 @@ -# This package depends on automagic byte compilation -# https://fedoraproject.org/wiki/Changes/No_more_automagic_Python_bytecompilation_phase_2 -%global _python_bytecompile_extra 1 - Name: ibus-table Version: 1.9.25 -Release: 2%{?dist} +Release: 3%{?dist} Summary: The Table engine for IBus platform License: LGPLv2+ URL: http://code.google.com/p/ibus/ @@ -51,6 +47,8 @@ export PYTHON=%{__python3} %__rm -rf $RPM_BUILD_ROOT export PYTHON=%{__python3} %__make DESTDIR=${RPM_BUILD_ROOT} NO_INDEX=true install pkgconfigdir=%{_datadir}/pkgconfig +%py_byte_compile %{python3} /usr/share/ibus-table/engine +%py_byte_compile %{python3} /usr/share/ibus-table/setup %find_lang %{name} @@ -104,6 +102,10 @@ popd %{_datadir}/pkgconfig/%{name}.pc %changelog +* Mon Jun 22 2020 Mike FABIAN - 1.9.25-3 +- Byte compile python files namually, + see: https://fedoraproject.org/wiki/Changes/No_more_automagic_Python_bytecompilation_phase_3 + * Thu Jun 04 2020 Miro HronĨok - 1.9.25-2 - Don't explicitly require python(abi) >= 3.3