Use python2 explicitly
Using unversioned python is forbidden in Fedora's RPMs.
This commit is contained in:
parent
d22fdcc501
commit
7c1db556d3
@ -16,7 +16,9 @@ Source0: http://sourceforge.net/projects/%{name}/files/%{name}/%{altname2
|
|||||||
Patch3: guitarix-0.35.0-abs-unsigned-fix.patch
|
Patch3: guitarix-0.35.0-abs-unsigned-fix.patch
|
||||||
|
|
||||||
BuildRequires: gcc-c++
|
BuildRequires: gcc-c++
|
||||||
BuildRequires: python
|
BuildRequires: python2
|
||||||
|
BuildRequires: %{_bindir}/find
|
||||||
|
BuildRequires: %{_bindir}/pathfix.py
|
||||||
BuildRequires: desktop-file-utils
|
BuildRequires: desktop-file-utils
|
||||||
BuildRequires: faust
|
BuildRequires: faust
|
||||||
BuildRequires: fftw-devel
|
BuildRequires: fftw-devel
|
||||||
@ -139,6 +141,14 @@ guitarix, but can also be used by any other ladspa host.
|
|||||||
%prep
|
%prep
|
||||||
%setup -q -n %{name}-%{version}
|
%setup -q -n %{name}-%{version}
|
||||||
|
|
||||||
|
# Fix unversioned python shebangs
|
||||||
|
pathfix.py -pni %{_bindir}/python2 \
|
||||||
|
$(find -name wscript) \
|
||||||
|
waf \
|
||||||
|
tools/make_jsonrpc_methods \
|
||||||
|
src/gx_head/builder/make \
|
||||||
|
.
|
||||||
|
|
||||||
# The build system does not use these bundled libraries by default. But
|
# The build system does not use these bundled libraries by default. But
|
||||||
# just to make sure:
|
# just to make sure:
|
||||||
rm -fr src/zita-convolver src/zita-resampler
|
rm -fr src/zita-convolver src/zita-resampler
|
||||||
|
Loading…
Reference in New Issue
Block a user