Switch to use py_byte_compile rpm macro
This commit is contained in:
parent
373673742a
commit
0b2dce8674
@ -1,12 +1,8 @@
|
||||
# This package depends on automagic byte compilation
|
||||
# https://fedoraproject.org/wiki/Changes/No_more_automagic_Python_bytecompilation_phase_2
|
||||
%global _python_bytecompile_extra 1
|
||||
|
||||
%global snapshot 0
|
||||
|
||||
Name: ibus-libzhuyin
|
||||
Version: 1.9.1
|
||||
Release: 3%{?dist}
|
||||
Release: 4%{?dist}
|
||||
Summary: New Zhuyin engine based on libzhuyin for IBus
|
||||
License: GPLv2+
|
||||
URL: https://github.com/libzhuyin/ibus-libzhuyin
|
||||
@ -54,6 +50,8 @@ make %{?_smp_mflags} V=1
|
||||
%install
|
||||
make install DESTDIR=${RPM_BUILD_ROOT} INSTALL="install -p"
|
||||
|
||||
%py_byte_compile %{python3} $RPM_BUILD_ROOT/%{datadir}/ibus-libzhuyin/setup
|
||||
|
||||
%find_lang %{name}
|
||||
|
||||
%files -f %{name}.lang
|
||||
@ -72,6 +70,9 @@ make install DESTDIR=${RPM_BUILD_ROOT} INSTALL="install -p"
|
||||
|
||||
|
||||
%changelog
|
||||
* Mon Jul 13 2020 Peng Wu <pwu@redhat.com> - 1.9.1-4
|
||||
- Switch to use py_byte_compile rpm macro
|
||||
|
||||
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.9.1-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user