commit 38dac5ff30563e49cee3276f3f3a6c63e48a1fd4
Author: Jacek Konieczny <[email protected]>
Date:   Mon Nov 30 08:34:59 2015 +0100

    shebangs check: missing '*'

 rpm.macros | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/rpm.macros b/rpm.macros
index 8bbe7c5..88a7cbd 100644
--- a/rpm.macros
+++ b/rpm.macros
@@ -741,7 +741,7 @@ __spec_install_post_check_shebangs() { \
                shebang=$(sed -e'1s/#! *\(.*\)/\1/;t;d;q' "$f") ; \
                f=${f##$RPM_BUILD_ROOT}; \
                case "$shebang" in \
-                       "%{__python}"|"%{__python3}"|"%{__python} 
"*|"%{__python3} " \
+                       "%{__python}"|"%{__python3}"|"%{__python} 
"*|"%{__python3} "* \
                        |"/usr/bin/python%{py_ver}"|"/usr/bin/python%{py_ver} 
"* \
                        |"/usr/bin/python%{py3_ver}"|"/usr/bin/python%{py3_ver} 
"*) \
                                ;; \
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/rpm-build-macros.git/commitdiff/38dac5ff30563e49cee3276f3f3a6c63e48a1fd4

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to