forked from pool/python-wheel
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-wheel?expand=0&rev=10
This commit is contained in:
parent
d7bdd0a312
commit
c98f335bbf
@ -36,7 +36,7 @@ Recommends: python-ed25519ll
|
||||
Recommends: python-dirspec
|
||||
Recommends: python-keyring
|
||||
Requires(post): update-alternatives
|
||||
Requires(preun): update-alternatives
|
||||
Requires(postun): update-alternatives
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
|
||||
BuildRequires: python-argparse
|
||||
@ -91,7 +91,7 @@ update-alternatives --install %{_bindir}/wheel wheel %{_bindir}/wheel-%{py_ver}
|
||||
--slave %{_bindir}/egg2wheel egg2wheel %{_bindir}/egg2wheel-%{py_ver} \
|
||||
--slave %{_bindir}/wininst2wheel wininst2wheel %{_bindir}/wininst2wheel-%{py_ver}
|
||||
|
||||
%preun
|
||||
%postun
|
||||
if [ $1 -eq 0 ] ; then
|
||||
update-alternatives --remove wheel %{_bindir}/wheel-%{py_ver}
|
||||
fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user