From 0271bad294e59210aa86564f84d3fd44e50d2043 Mon Sep 17 00:00:00 2001 From: Martin Gansser Date: Jul 24 2020 06:39:53 +0000 Subject: Update to 0.8.4 Bytecompile Python modules --- diff --git a/variety.spec b/variety.spec index 7194ceb..f0e8179 100644 --- a/variety.spec +++ b/variety.spec @@ -1,7 +1,3 @@ -# This package depends on automagic byte compilation -# https://fedoraproject.org/wiki/Changes/No_more_automagic_Python_bytecompilation_phase_2 -%global _python_bytecompile_extra 1 - #For git snapshots, set to 0 to use release instead: %global usesnapshot 0 %if 0%{?usesnapshot} @@ -95,7 +91,8 @@ desktop is always fresh and unique. rm -rf debian %build -%{__python3} setup.py build +# Bytecompile Python modules +%py_byte_compile %{__python3} setup.py build %install %{__python3} setup.py install --root=%{buildroot} @@ -124,6 +121,7 @@ appstream-util validate-relax --nonet %{buildroot}/%{_metainfodir}/%{name}.appda %changelog * Fri Jul 24 2020 Martin Gansser - 0.8.4-1 - Update to 0.8.4 +- Bytecompile Python modules * Tue May 26 2020 Miro HronĨok - 0.8.4-0.2.git8b8bb63 - Rebuilt for Python 3.9