From e5b6ef0baf33ee0c2f7a674d14aef7e03b117df1 Mon Sep 17 00:00:00 2001 From: Guido Aulisi Date: Sun, 15 Jul 2018 12:09:02 +0200 Subject: [PATCH] Fix FTBFS due to the move of /usr/bin/python into a separate package See https://fedoraproject.org/wiki/Changes/Move_usr_bin_python_into_separate_package --- lv2.spec | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/lv2.spec b/lv2.spec index 4c3a566..8955dff 100644 --- a/lv2.spec +++ b/lv2.spec @@ -2,7 +2,7 @@ Name: lv2 Version: 1.14.0 -Release: 6%{?dist} +Release: 7%{?dist} Summary: Audio Plugin Standard # lv2specgen template.html is CC-AT-SA @@ -76,13 +76,13 @@ sed -i '1s|^#!.*|#!%{__python2}|' lv2specgen/lv2specgen.py %build export CFLAGS="%{optflags}" export LDFLAGS="%{__global_ldflags}" -./waf configure -vv --prefix=%{_prefix} --libdir=%{_libdir} --debug \ +%{__python2} waf configure -vv --prefix=%{_prefix} --libdir=%{_libdir} --debug \ --docs --docdir=%{_pkgdocdir} --lv2dir=%{_libdir}/lv2 -./waf -vv %{?_smp_mflags} +%{__python2} waf -vv %{?_smp_mflags} %install rm -rf %buildroot -DESTDIR=%buildroot ./waf -vv install +DESTDIR=%buildroot %{__python2} waf -vv install mv %{buildroot}%{_pkgdocdir}/%{name}/lv2plug.in/* %{buildroot}%{_pkgdocdir} find %{buildroot}%{_pkgdocdir} -type d -empty | xargs rmdir for f in COPYING NEWS README.md ; do @@ -118,6 +118,9 @@ done %{_pkgdocdir}/ %changelog +* Sun Jul 15 2018 Guido Aulisi - 1.14.0-7 +- Fix FTBFS due to the move of /usr/bin/python into a separate package + * Fri Jul 13 2018 Fedora Release Engineering - 1.14.0-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild