]> git.pld-linux.org Git - packages/catfish.git/commitdiff
- fix interpreter shebang auto/th/catfish-1.4.9-1
authorJan Rękorajski <baggins@pld-linux.org>
Sat, 31 Aug 2019 16:55:53 +0000 (18:55 +0200)
committerJan Rękorajski <baggins@pld-linux.org>
Sat, 31 Aug 2019 16:55:53 +0000 (18:55 +0200)
- rel 1

catfish.spec

index 0e9d581a675b82f9d39ee7dc3829bbe1ce481fbe..b1509f60d7289ad09970ad94e657b81ca9b977d4 100644 (file)
@@ -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
 
This page took 0.116403 seconds and 4 git commands to generate.