From: Jan Rękorajski Date: Sat, 31 Aug 2019 16:55:53 +0000 (+0200) Subject: - fix interpreter shebang X-Git-Tag: auto/th/catfish-1.4.9-1 X-Git-Url: http://git.pld-linux.org/gitweb.cgi?a=commitdiff_plain;h=62604a9ce7e0ce520f0755fa8add236c0a46b0bd;p=packages%2Fcatfish.git - fix interpreter shebang - rel 1 --- diff --git a/catfish.spec b/catfish.spec index 0e9d581..b1509f6 100644 --- a/catfish.spec +++ b/catfish.spec @@ -1,7 +1,7 @@ Summary: Versatile file search utility for the Xfce desktop Name: catfish Version: 1.4.9 -Release: 0.1 +Release: 1 License: GPL v2 Group: X11/Applications/Graphics Source0: http://archive.xfce.org/src/apps/catfish/1.4/%{name}-%{version}.tar.bz2 @@ -31,6 +31,9 @@ finding files. %prep %setup -q +# fix #!/usr/bin/env python -> #!/usr/bin/python3: +find -name '*.py' | xargs %{__sed} -i -e '1s,^#!.*python$,#!%{__python3},' + %build %{__python3} setup.py build