Use make macros
Instead of the plain %__make, use %make_build and %make_install
This commit is contained in:
parent
5e884906b6
commit
34ce198f63
@ -57,12 +57,12 @@ the functionality of the installed %{name} package.
|
|||||||
%build
|
%build
|
||||||
export PYTHON=%{__python3}
|
export PYTHON=%{__python3}
|
||||||
%configure --disable-static --disable-additional --enable-installed-tests
|
%configure --disable-static --disable-additional --enable-installed-tests
|
||||||
%__make %{?_smp_mflags}
|
%make_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%__rm -rf $RPM_BUILD_ROOT
|
%__rm -rf $RPM_BUILD_ROOT
|
||||||
export PYTHON=%{__python3}
|
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/engine
|
||||||
%py_byte_compile %{python3} /usr/share/ibus-table/setup
|
%py_byte_compile %{python3} /usr/share/ibus-table/setup
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user