- Fix shebang path for "pip3.XX" binaries
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pip?expand=0&rev=117
This commit is contained in:
parent
eb6fea59a9
commit
ad4c01baa5
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Feb 5 11:50:28 UTC 2024 - Daniel Garcia <daniel.garcia@suse.com>
|
||||||
|
|
||||||
|
- Fix shebang path for "pip3.XX" binaries
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Dec 22 16:06:25 UTC 2023 - Ben Greiner <code@bnavigator.de>
|
Fri Dec 22 16:06:25 UTC 2023 - Ben Greiner <code@bnavigator.de>
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file
|
# spec file for package python-pip
|
||||||
#
|
#
|
||||||
# Copyright (c) 2023 SUSE LLC
|
# Copyright (c) 2024 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -134,6 +134,11 @@ export PYTHONPATH=build/env/lib/python%{$python_bin_suffix}/site-packages
|
|||||||
install -D -m 0644 -t %{buildroot}%{$python_sitelib}/../wheels dist/*.whl
|
install -D -m 0644 -t %{buildroot}%{$python_sitelib}/../wheels dist/*.whl
|
||||||
%fdupes %{buildroot}%{$python_sitelib}
|
%fdupes %{buildroot}%{$python_sitelib}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
%{python_expand # Fix shebang path for "pip3.XX" binaries
|
||||||
|
%{$python_fix_shebang_path %{buildroot}%{_bindir}/pip%{$python_bin_suffix}}
|
||||||
|
}
|
||||||
|
|
||||||
%python_clone -a %{buildroot}%{_bindir}/pip
|
%python_clone -a %{buildroot}%{_bindir}/pip
|
||||||
%python_clone -a %{buildroot}%{_bindir}/pip3
|
%python_clone -a %{buildroot}%{_bindir}/pip3
|
||||||
%python_expand %fdupes %{buildroot}%{_bindir}
|
%python_expand %fdupes %{buildroot}%{_bindir}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user