Switch to use py_byte_compile rpm macro
This commit is contained in:
parent
cd195b590a
commit
a297791b2b
@ -1,13 +1,9 @@
|
||||
# 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 require_ibus_version 1.3.99
|
||||
%global require_libhangul_version 0.1.0
|
||||
|
||||
Name: ibus-hangul
|
||||
Version: 1.5.3
|
||||
Release: 2%{?dist}
|
||||
Release: 3%{?dist}
|
||||
Summary: The Hangul engine for IBus input platform
|
||||
License: GPLv2+
|
||||
URL: https://github.com/libhangul/ibus-hangul
|
||||
@ -51,6 +47,8 @@ make %{?_smp_mflags}
|
||||
%install
|
||||
make DESTDIR=${RPM_BUILD_ROOT} install INSTALL="install -p"
|
||||
|
||||
%py_byte_compile %{python3} $RPM_BUILD_ROOT/%{datadir}/ibus-hangul/setup
|
||||
|
||||
# Register as an AppStream component to be visible in the software center
|
||||
#
|
||||
# NOTE: It would be *awesome* if this file was maintained by the upstream
|
||||
@ -115,6 +113,9 @@ desktop-file-validate ${RPM_BUILD_ROOT}%{_datadir}/applications/ibus-setup-hangu
|
||||
%{_datadir}/icons/hicolor/*/apps/*
|
||||
|
||||
%changelog
|
||||
* Mon Jul 13 2020 Peng Wu <pwu@redhat.com> - 1.5.3-3
|
||||
- Switch to use py_byte_compile rpm macro
|
||||
|
||||
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.3-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user