[lives] Fix multi_encoder3 python interpreter

Dominik 'Rathann' Mierzejewski dominik at greysector.net
Wed Oct 26 13:02:04 CEST 2016


On Tuesday, 25 October 2016 at 23:44, Antonio wrote:
> commit 0ead6e97fd35fc2627ecacbc084aa0382dfe2272
> Author: sagitter <sagitter at fedoraproject.org>
> Date:   Tue Oct 25 23:43:05 2016 +0200
> 
>     Fix multi_encoder3 python interpreter
> 
>  lives.spec | 11 ++++++++---
>  1 file changed, 8 insertions(+), 3 deletions(-)
> ---
> diff --git a/lives.spec b/lives.spec
> index e216f23..9964dd6 100644
> --- a/lives.spec
> +++ b/lives.spec
[...]
> @@ -143,8 +144,9 @@ rm -rf %{buildroot}%{_docdir}/lives-%{version}
>  ##Remove rpaths
>  chrpath -d %{buildroot}%{_bindir}/lives-exe
>  
> -# Fix Python2 interpreter
> -find %{buildroot} -name 'lives_*' -o -name 'multi_encod*' | xargs sed -i '1s|^#!/usr/bin/env python|#!%{__python2}|'
> +# Fix Python interpreter
> +find %{buildroot} -name 'lives_*' -o -name 'multi_encoder' | xargs sed -i '1s|^#!/usr/bin/env python|#!%{__python2}|'
> +find %{buildroot} -name 'lives_*' -o -name 'multi_encoder3' | xargs sed -i '1s|^#!/usr/bin/env python|#!%{__python3}|'
>  
>  ##Set Exec key
>  desktop-file-edit \

I hope you do realize that this sets the python hashbang to python3 for
lives_*, not just multi_encoder3. Is that intended? If yes, then what's
the point of setting it to python2 in the line before?

Regards,
Dominik
-- 
Fedora http://fedoraproject.org/wiki/User:Rathann
RPMFusion http://rpmfusion.org
"Faith manages."
        -- Delenn to Lennier in Babylon 5:"Confessions and Lamentations"


More information about the rpmfusion-developers mailing list