Include SBOM in the .whl file in python-pip-wheel
This commit is contained in:
parent
3a83d6ce5d
commit
e2a1a1a994
1 changed files with 2 additions and 0 deletions
|
|
@ -287,8 +287,10 @@ sed -i -e "s/^\\(complete.*\\) pip%{python3_version}\$/\\1 pip%{python3_version}
|
|||
-e s/_pip_completion/_pip%{python3_version_nodots}_completion/ \
|
||||
%{buildroot}%{bash_completions_dir}/pip%{python3_version}
|
||||
|
||||
# Install the built wheel and inject SBOM into it (if the macro is available)
|
||||
mkdir -p %{buildroot}%{python_wheel_dir}
|
||||
install -p %{_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}}
|
||||
|
||||
|
||||
%check
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue