From 27267c345f4c58f2011791049363660f8e8be9d7 Mon Sep 17 00:00:00 2001 From: Artem Polishchuk Date: Aug 17 2020 22:42:44 +0000 Subject: Remove automagic Python bytecompilation | Fix FTBFS f33 | RH#1863559 --- diff --git a/fish.spec b/fish.spec index 0865fb9..5b19383 100644 --- a/fish.spec +++ b/fish.spec @@ -1,10 +1,6 @@ -# This package depends on automagic byte compilation -# https://fedoraproject.org/wiki/Changes/No_more_automagic_Python_bytecompilation_phase_2 -%global _python_bytecompile_extra 1 - Name: fish Version: 3.1.2 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Friendly interactive shell # GPLv2 @@ -75,6 +71,10 @@ done %install %ninja_install -C %{_vpath_builddir} +# No more automagic Python bytecompilation phase 3 +# * https://fedoraproject.org/wiki/Changes/No_more_automagic_Python_bytecompilation_phase_3 +%py_byte_compile %{python3} %{buildroot}%{_datadir}/%{name}/tools/ + # Install docs from tarball root cp -a README.md %{buildroot}%{_pkgdocdir} cp -a CONTRIBUTING.md %{buildroot}%{_pkgdocdir} @@ -111,6 +111,9 @@ fi %{_pkgdocdir} %changelog +* Mon Aug 17 2020 Artem Polishchuk - 3.1.2-4 +- Remove automagic Python bytecompilation | Fix FTBFS f33 | RH#1863559 + * Sat Aug 01 2020 Fedora Release Engineering - 3.1.2-3 - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild