From 62604a9ce7e0ce520f0755fa8add236c0a46b0bd Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jan=20R=C4=99korajski?= Date: Sat, 31 Aug 2019 18:55:53 +0200 Subject: [PATCH] - fix interpreter shebang - rel 1 --- catfish.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 -- 2.44.0