diff --git a/ibus-table.spec b/ibus-table.spec index b69a7f6..6e295ab 100644 --- a/ibus-table.spec +++ b/ibus-table.spec @@ -57,12 +57,12 @@ the functionality of the installed %{name} package. %build export PYTHON=%{__python3} %configure --disable-static --disable-additional --enable-installed-tests -%__make %{?_smp_mflags} +%make_build %install %__rm -rf $RPM_BUILD_ROOT export PYTHON=%{__python3} -%__make DESTDIR=${RPM_BUILD_ROOT} NO_INDEX=true install pkgconfigdir=%{_datadir}/pkgconfig +%make_install NO_INDEX=true pkgconfigdir=%{_datadir}/pkgconfig %py_byte_compile %{python3} /usr/share/ibus-table/engine %py_byte_compile %{python3} /usr/share/ibus-table/setup