Explicitly byte-compile python files using py_byte_compile macro

This commit is contained in:
Kalev Lember 2020-10-01 21:30:00 +02:00
parent b840451647
commit 00de13e6c6

View File

@ -1,7 +1,5 @@
%global debug_package %{nil} %global debug_package %{nil}
%global __python %{__python3}
Name: gtk-doc Name: gtk-doc
Version: 1.33.0 Version: 1.33.0
Release: 1%{?dist} Release: 1%{?dist}
@ -57,6 +55,8 @@ mv doc/README doc/README.docs
%install %install
%meson_install %meson_install
%py_byte_compile %{__python3} %{buildroot}%{_datadir}/gtk-doc/
%check %check
%meson_test %meson_test
@ -74,6 +74,7 @@ mv doc/README doc/README.docs
* Thu Oct 01 2020 Kalev Lember <klember@redhat.com> - 1.33-1 * Thu Oct 01 2020 Kalev Lember <klember@redhat.com> - 1.33-1
- Update to 1.33 - Update to 1.33
- Switch to meson build system - Switch to meson build system
- Explicitly byte-compile python files using py_byte_compile macro
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.32-5 * Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.32-5
- Second attempt - Rebuilt for - Second attempt - Rebuilt for