forked from pool/python-urllib3
Accepting request 711276 from home:dimstar:Factory
- Fixup pre script: the migration issue happens when changing from python-urllib3 to python2-urllib3: the number of installed instances of python2-urlliib3 is at this moment 1, unlike in regular updates. This is due to a name change, which consists not of a pure package update. OBS-URL: https://build.opensuse.org/request/show/711276 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-urllib3?expand=0&rev=76
This commit is contained in:
@@ -1,3 +1,12 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Jun 21 06:23:36 UTC 2019 - Dominique Leuenberger <dimstar@opensuse.org>
|
||||
|
||||
- Fixup pre script: the migration issue happens when changing from
|
||||
python-urllib3 to python2-urllib3: the number of installed
|
||||
instances of python2-urlliib3 is at this moment 1, unlike in
|
||||
regular updates. This is due to a name change, which consists not
|
||||
of a pure package update.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jun 20 07:33:55 UTC 2019 - Dominique Leuenberger <dimstar@opensuse.org>
|
||||
|
||||
|
@@ -156,7 +156,6 @@ ln -s %{python3_sitelib}/rfc3986/ \
|
||||
%if ! %{with test}
|
||||
%pre -n python2-urllib3
|
||||
SITELIB=%{python2_sitelib}
|
||||
if [ "$1" -gt 1 ] ; then
|
||||
CONFLICTED="${SITELIB}/urllib3/packages/ssl_match_hostname"
|
||||
if [ -d "$CONFLICTED" -a ! -L "$CONFLICTED" ] ; then
|
||||
# Change from directory to symlink
|
||||
@@ -164,7 +163,6 @@ if [ "$1" -gt 1 ] ; then
|
||||
ln -s ../../backports/ssl_match_hostname \
|
||||
$CONFLICTED
|
||||
fi
|
||||
fi
|
||||
%endif
|
||||
|
||||
%if %{with test}
|
||||
|
Reference in New Issue
Block a user