[packages/catfish] - fix interpreter shebang - rel 1

baggins baggins at pld-linux.org
Sat Aug 31 18:56:31 CEST 2019


commit 62604a9ce7e0ce520f0755fa8add236c0a46b0bd
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Sat Aug 31 18:55:53 2019 +0200

    - 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
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/catfish.git/commitdiff/62604a9ce7e0ce520f0755fa8add236c0a46b0bd



More information about the pld-cvs-commit mailing list