From 93b4adf1a430127008e3501680c75439a0d37114 Mon Sep 17 00:00:00 2001 From: Guido Aulisi Date: Mon, 27 Mar 2017 14:54:57 +0200 Subject: [PATCH] Fix wrong interpreter in lv2specgen.py --- lv2.spec | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/lv2.spec b/lv2.spec index 3bb7854..381e42f 100644 --- a/lv2.spec +++ b/lv2.spec @@ -2,7 +2,7 @@ Name: lv2 Version: 1.14.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Audio Plugin Standard # lv2specgen template.html is CC-AT-SA @@ -14,6 +14,7 @@ BuildRequires: doxygen graphviz python-rdflib BuildRequires: libsndfile-devel BuildRequires: gcc BuildRequires: python-pygments +BuildRequires: python2-devel # this package replaces lv2core Provides: lv2core = 6.0-4 @@ -69,6 +70,8 @@ Example LV2 audio plugins %prep %setup -q +# Fix wrong interpreter in lv2specgen.py +sed -i '1s|^#!.*|#!%{__python2}|' lv2specgen/lv2specgen.py %build export CFLAGS="%{optflags}" @@ -118,6 +121,9 @@ rm -rf %buildroot %{_pkgdocdir}/ %changelog +* Mon Mar 27 2017 Guido Aulisi - 1.14.0-2 +- Fix wrong interpreter in lv2specgen.py + * Mon Mar 13 2017 Guido Aulisi - 1.14.0-1 - Update to 1.14.0 - Move examples to the example-plugins subpackage