Use make macros
https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro
This commit is contained in:
parent
9ed9f2b9ba
commit
3894d54a33
@ -1,6 +1,6 @@
|
||||
Name: ibus-typing-booster
|
||||
Version: 2.9.4
|
||||
Release: 2%{?dist}
|
||||
Release: 3%{?dist}
|
||||
Summary: A completion input method
|
||||
License: GPLv3+, ASL 2.0
|
||||
URL: https://mike-fabian.github.io/ibus-typing-booster/
|
||||
@ -100,11 +100,11 @@ Unicode symbols.
|
||||
%build
|
||||
export PYTHON=%{__python3}
|
||||
%configure --disable-static --disable-additional --enable-installed-tests
|
||||
make %{?_smp_mflags}
|
||||
%make_build
|
||||
|
||||
%install
|
||||
export PYTHON=%{__python3}
|
||||
make install DESTDIR=${RPM_BUILD_ROOT} NO_INDEX=true INSTALL="install -p" pkgconfigdir=%{_datadir}/pkgconfig
|
||||
%make_install NO_INDEX=true pkgconfigdir=%{_datadir}/pkgconfig
|
||||
%py_byte_compile %{python3} /usr/share/ibus-typing-booster/engine
|
||||
%py_byte_compile %{python3} /usr/share/ibus-typing-booster/setup
|
||||
%if 0%{?fedora} >= 26 || 0%{?rhel} > 7
|
||||
@ -241,6 +241,10 @@ fi
|
||||
- Support %%S expansion in include statements in compose files
|
||||
- Translation update from Weblate for fr, he, hu, zh_CN
|
||||
|
||||
* Mon Jul 13 2020 Tom Stellard <tstellar@redhat.com> - 2.9.3-2
|
||||
- Use make macros
|
||||
- https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro
|
||||
|
||||
* Mon Jun 22 2020 Mike FABIAN <mfabian@redhat.com> - 2.9.3-1
|
||||
- Update to 2.9.3
|
||||
- Translation updates from Weblate for he
|
||||
|
Loading…
Reference in New Issue
Block a user