Tom Stellard 2020-07-14 16:10:01 +00:00
parent 93a7ba1416
commit ff4eb98963

View File

@ -2,7 +2,7 @@
Name: ibus-libpinyin
Version: 1.11.92
Release: 2%{?dist}
Release: 3%{?dist}
Summary: Intelligent Pinyin engine based on libpinyin for IBus
License: GPLv3+
URL: https://github.com/libpinyin/ibus-libpinyin
@ -49,14 +49,14 @@ input method based on libpinyin for IBus.
--disable-boost
# make -C po update-gmo
make %{?_smp_mflags}
%make_build
%check
desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/ibus-setup-libpinyin.desktop
desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/ibus-setup-libbopomofo.desktop
%install
make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
%make_install
%py_byte_compile %{python3} $RPM_BUILD_ROOT%{_datadir}/ibus-libpinyin/setup
@ -89,6 +89,10 @@ make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
%{_datadir}/ibus/component/*
%changelog
* Tue Jul 14 2020 Tom Stellard <tstellar@redhat.com> - 1.11.92-3
- Use make macros
- https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro
* Mon Jul 13 2020 Peng Wu <pwu@redhat.com> - 1.11.92-2
- Switch to use py_byte_compile rpm macro