- Fix alternative link in buildroot
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pip?expand=0&rev=29
This commit is contained in:
parent
adb4a58947
commit
9aa5604b0f
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Nov 22 12:53:53 UTC 2013 - speilicke@suse.com
|
||||||
|
|
||||||
|
- Fix alternative link in buildroot
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Sep 26 11:33:58 UTC 2013 - rhafer@suse.com
|
Thu Sep 26 11:33:58 UTC 2013 - rhafer@suse.com
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-pip
|
# spec file for package python-pip
|
||||||
#
|
#
|
||||||
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# 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
|
||||||
@ -11,7 +11,7 @@
|
|||||||
# case the license is the MIT License). An "Open Source License" is a
|
# case the license is the MIT License). An "Open Source License" is a
|
||||||
# license that conforms to the Open Source Definition (Version 1.9)
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
# published by the Open Source Initiative.
|
# published by the Open Source Initiative.
|
||||||
#
|
|
||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
@ -51,6 +51,8 @@ python setup.py build
|
|||||||
|
|
||||||
%install
|
%install
|
||||||
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
||||||
|
rm %{buildroot}%{_bindir}/pip
|
||||||
|
ln -s %{_bindir}/pip-%{py_ver} %{buildroot}%{_bindir}/pip
|
||||||
|
|
||||||
%pre
|
%pre
|
||||||
# Since /usr/bin/pip became ghosted to be used with update-alternatives, we have to get rid
|
# Since /usr/bin/pip became ghosted to be used with update-alternatives, we have to get rid
|
||||||
@ -73,5 +75,8 @@ fi
|
|||||||
%{_bindir}/pip-%{py_ver}
|
%{_bindir}/pip-%{py_ver}
|
||||||
%{python_sitelib}/pip-%{version}-py%{py_ver}.egg-info
|
%{python_sitelib}/pip-%{version}-py%{py_ver}.egg-info
|
||||||
%{python_sitelib}/pip
|
%{python_sitelib}/pip
|
||||||
|
%if 0%{?suse_version} >= 1230
|
||||||
|
%ghost %{_sysconfdir}/alternatives/pip
|
||||||
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user