mirror of https://github.com/apache/cassandra
Change shebangs of Python scripts to resolve Python 3 from env command
patch by Brad Schoening; reviewed by Stefan Miklosovic and Brandon Williams for CASSANDRA-17832 Co-authored-by: Stefan Miklosovic <smiklosovic@apache.org>
This commit is contained in:
parent
9f99e72aae
commit
3860a90c5f
|
|
@ -1,4 +1,5 @@
|
|||
4.2
|
||||
* Change shebangs of Python scripts to resolve Python 3 from env command (CASSANDRA-17832)
|
||||
* Add reasons to guardrail messages and consider guardrails in the error message for needed ALLOW FILTERING (CASSANDRA-17967)
|
||||
* Add support for CQL functions on collections, tuples and UDTs (CASSANDRA-17811)
|
||||
* Add flag to exclude nodes from local DC when running nodetool rebuild (CASSANDRA-17870)
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#!/usr/bin/python3
|
||||
#!/usr/bin/env python3
|
||||
|
||||
# Licensed to the Apache Software Foundation (ASF) under one
|
||||
# or more contributor license agreements. See the NOTICE file
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#!/usr/bin/python
|
||||
#!/usr/bin/env python3
|
||||
# Licensed to the Apache Software Foundation (ASF) under one
|
||||
# or more contributor license agreements. See the NOTICE file
|
||||
# distributed with this work for additional information
|
||||
|
|
|
|||
|
|
@ -17,8 +17,8 @@
|
|||
#
|
||||
|
||||
%define __jar_repack %{nil}
|
||||
# Turn off the brp-python-bytecompile script
|
||||
%global __os_install_post %(echo '%{__os_install_post}' | sed -e 's!/usr/lib[^[:space:]]*/brp-python-bytecompile[[:space:]].*$!!g')
|
||||
# Turn off the brp-python-bytecompile script and mangling shebangs for Python scripts
|
||||
%global __os_install_post %(echo '%{__os_install_post}' | sed -e 's!/usr/lib[^[:space:]]*/brp-python-bytecompile[[:space:]].*$!!g' -e 's!/usr/lib[^[:space:]]*/brp-mangle-shebangs[[:space:]].*$!!g')
|
||||
|
||||
# rpmbuild should not barf when it spots we ship
|
||||
# binary executable files in our 'noarch' package
|
||||
|
|
|
|||
|
|
@ -17,8 +17,8 @@
|
|||
#
|
||||
|
||||
%define __jar_repack %{nil}
|
||||
# Turn off the brp-python-bytecompile script
|
||||
%global __os_install_post %(echo '%{__os_install_post}' | sed -e 's!/usr/lib[^[:space:]]*/brp-python-bytecompile[[:space:]].*$!!g')
|
||||
# Turn off the brp-python-bytecompile script and mangling shebangs for Python scripts
|
||||
%global __os_install_post %(echo '%{__os_install_post}' | sed -e 's!/usr/lib[^[:space:]]*/brp-python-bytecompile[[:space:]].*$!!g' -e 's!/usr/lib[^[:space:]]*/brp-mangle-shebangs[[:space:]].*$!!g')
|
||||
|
||||
# rpmbuild should not barf when it spots we ship
|
||||
# binary executable files in our 'noarch' package
|
||||
|
|
|
|||
Loading…
Reference in New Issue