public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-wheel0.37] rawhide: Do not install the wheel.whl with executable permissions
@ 2026-09-04 9:57
0 siblings, 0 replies; only message in thread
From: @ 2026-09-04 9:57 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/python-wheel0.37
Branch : rawhide
Commit : 4773ba7d3ac44040ef2e97294d9b28607e85f664
Author : Miro Hrončok <miro@hroncok.cz>
Date : 2026-08-31T12:49:38+02:00
Stats : +1/-1 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/python-wheel0.37/c/4773ba7d3ac44040ef2e97294d9b28607e85f664?branch=rawhide
Log:
Do not install the wheel.whl with executable permissions
The wheel file is never executed, it has no shebang
(yes, zips can have shebangs).
bash: /usr/share/python-wheels/wheel-....whl: cannot execute binary file: Exec format error
This executable permission was never intended,
it only happens to be the default for the install command.
---
diff --git a/python-wheel0.37.spec b/python-wheel0.37.spec
index e2c1e8e..1b01299 100644
--- a/python-wheel0.37.spec
+++ b/python-wheel0.37.spec
@@ -75,7 +75,7 @@ sed -Ei '/(pytest|-)-cov/d' setup.cfg
%install
mkdir -p %{buildroot}%{python_wheel_dir}
-install -p %{_pyproject_wheeldir}/%{python_wheel_name} -t %{buildroot}%{python_wheel_dir}
+install -pm0644 %{_pyproject_wheeldir}/%{python_wheel_name} -t %{buildroot}%{python_wheel_dir}
%{?python_wheel_inject_sbom:%python_wheel_inject_sbom %{buildroot}%{python_wheel_dir}/%{python_wheel_name}}
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-09-04 9:57 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-04 9:57 [rpms/python-wheel0.37] rawhide: Do not install the wheel.whl with executable permissions
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox