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
|
Name: ibus-libzhuyin
|
||||||
Version: 1.9.1
|
Version: 1.9.1
|
||||||
Release: 4%{?dist}
|
Release: 5%{?dist}
|
||||||
Summary: New Zhuyin engine based on libzhuyin for IBus
|
Summary: New Zhuyin engine based on libzhuyin for IBus
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
URL: https://github.com/libzhuyin/ibus-libzhuyin
|
URL: https://github.com/libzhuyin/ibus-libzhuyin
|
||||||
@ -45,10 +45,10 @@ based on libzhuyin for IBus.
|
|||||||
--with-python=python3
|
--with-python=python3
|
||||||
|
|
||||||
# make -C po update-gmo
|
# make -C po update-gmo
|
||||||
make %{?_smp_mflags} V=1
|
%make_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
make install DESTDIR=${RPM_BUILD_ROOT} INSTALL="install -p"
|
%make_install
|
||||||
|
|
||||||
%py_byte_compile %{python3} $RPM_BUILD_ROOT%{_datadir}/ibus-libzhuyin/setup
|
%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
|
%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
|
* Mon Jul 13 2020 Peng Wu <pwu@redhat.com> - 1.9.1-4
|
||||||
- Switch to use py_byte_compile rpm macro
|
- Switch to use py_byte_compile rpm macro
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user