Use make macros
https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro
This commit is contained in:
parent
212575518b
commit
d7fe986112
@ -2,7 +2,7 @@
|
||||
|
||||
Name: ibus-libzhuyin
|
||||
Version: 1.9.1
|
||||
Release: 4%{?dist}
|
||||
Release: 5%{?dist}
|
||||
Summary: New Zhuyin engine based on libzhuyin for IBus
|
||||
License: GPLv2+
|
||||
URL: https://github.com/libzhuyin/ibus-libzhuyin
|
||||
@ -45,10 +45,10 @@ based on libzhuyin for IBus.
|
||||
--with-python=python3
|
||||
|
||||
# make -C po update-gmo
|
||||
make %{?_smp_mflags} V=1
|
||||
%make_build
|
||||
|
||||
%install
|
||||
make install DESTDIR=${RPM_BUILD_ROOT} INSTALL="install -p"
|
||||
%make_install
|
||||
|
||||
%py_byte_compile %{python3} $RPM_BUILD_ROOT%{_datadir}/ibus-libzhuyin/setup
|
||||
|
||||
@ -70,6 +70,10 @@ make install DESTDIR=${RPM_BUILD_ROOT} INSTALL="install -p"
|
||||
|
||||
|
||||
%changelog
|
||||
* Tue Jul 14 2020 Tom Stellard <tstellar@redhat.com> - 1.9.1-5
|
||||
- Use make macros
|
||||
- https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro
|
||||
|
||||
* Mon Jul 13 2020 Peng Wu <pwu@redhat.com> - 1.9.1-4
|
||||
- Switch to use py_byte_compile rpm macro
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user