Remove automagic Python bytecompilation | Fix FTBFS f33 | RH#1863559

epel9
Artem Polishchuk 4 years ago
parent 517595c473
commit 27267c345f

@ -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 Name: fish
Version: 3.1.2 Version: 3.1.2
Release: 3%{?dist} Release: 4%{?dist}
Summary: Friendly interactive shell Summary: Friendly interactive shell
# GPLv2 # GPLv2
@ -75,6 +71,10 @@ done
%install %install
%ninja_install -C %{_vpath_builddir} %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 # Install docs from tarball root
cp -a README.md %{buildroot}%{_pkgdocdir} cp -a README.md %{buildroot}%{_pkgdocdir}
cp -a CONTRIBUTING.md %{buildroot}%{_pkgdocdir} cp -a CONTRIBUTING.md %{buildroot}%{_pkgdocdir}
@ -111,6 +111,9 @@ fi
%{_pkgdocdir} %{_pkgdocdir}
%changelog %changelog
* Mon Aug 17 2020 Artem Polishchuk <ego.cordatus@gmail.com> - 3.1.2-4
- Remove automagic Python bytecompilation | Fix FTBFS f33 | RH#1863559
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.1.2-3 * Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.1.2-3
- Second attempt - Rebuilt for - Second attempt - Rebuilt for
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild

Loading…
Cancel
Save