Byte-compile all plugin python files, not just the snippets plugin

This commit is contained in:
Kalev Lember 2020-09-04 15:47:30 +02:00
parent 8e4091c24e
commit 41b654b300

View File

@ -13,7 +13,7 @@
Name: gedit
Epoch: 2
Version: 3.37.92
Release: 1%{?dist}
Release: 2%{?dist}
Summary: Text editor for the GNOME desktop
License: GPLv2+ and GFDL
@ -107,7 +107,7 @@ Install gedit-devel if you want to write plugins for gedit.
%install
%meson_install
%py_byte_compile %{__python3} %{buildroot}%{python3_sitearch}/gi/overrides
%py_byte_compile %{__python3} %{buildroot}%{_libdir}/gedit/plugins/snippets
%py_byte_compile %{__python3} %{buildroot}%{_libdir}/gedit/plugins/
%find_lang %{name} --with-gnome
@ -171,6 +171,9 @@ desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/org.gnome.gedit.de
%{_datadir}/vala/
%changelog
* Fri Sep 04 2020 Kalev Lember <klember@redhat.com> - 2:3.37.92-2
- Byte-compile all plugin python files, not just the snippets plugin
* Fri Sep 04 2020 Kalev Lember <klember@redhat.com> - 2:3.37.92-1
- Update to 3.37.92