Skip to content

Commit 3fd0566

Browse files
committed
spec: Remove shebang fixup
redhat-rpm-config brp-mangle-shebangs added in 2018 will do /usr/bin/env python3 -> /usr/bin/python3 automatically for us Signed-off-by: Cole Robinson <[email protected]>
1 parent 77e9094 commit 3fd0566

1 file changed

Lines changed: 0 additions & 8 deletions

File tree

python-bugzilla.spec

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -48,14 +48,6 @@ This package includes the 'bugzilla' command-line tool for interacting with bugz
4848
%install
4949
%{__python3} setup.py install -O1 --root %{buildroot}
5050

51-
# Replace '#!/usr/bin/env python' with '#!/usr/bin/python2'
52-
# The format is ideal for upstream, but not a distro. See:
53-
# https://fedoraproject.org/wiki/Features/SystemPythonExecutablesUseSystemPython
54-
%global python_env_path %{__python3}
55-
for f in $(find %{buildroot} -type f -executable -print); do
56-
sed -i "1 s|^#!/usr/bin/.*|#!%{python_env_path}|" $f || :
57-
done
58-
5951

6052

6153
%check

0 commit comments

Comments
 (0)