From 34ce198f636226ba09e3e36d8cd0acfa43f8705f Mon Sep 17 00:00:00 2001 From: Timm Bäder Date: May 14 2021 10:16:42 +0000 Subject: Use make macros Instead of the plain %__make, use %make_build and %make_install --- diff --git a/ibus-table.spec b/ibus-table.spec index c2a4700..84ba0ff 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