Hello community, here is the log from the commit of package python-urllib3 for openSUSE:Factory checked in at 2019-06-20 11:02:18 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-urllib3 (Old) and /work/SRC/openSUSE:Factory/.python-urllib3.new.4811 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-urllib3" Thu Jun 20 11:02:18 2019 rev:29 rq:711042 version:1.25.3 Changes: -------- --- /work/SRC/openSUSE:Factory/python-urllib3/python-urllib3.changes 2019-06-20 07:09:45.853964853 +0200 +++ /work/SRC/openSUSE:Factory/.python-urllib3.new.4811/python-urllib3.changes 2019-06-20 11:02:20.273091812 +0200 @@ -1,0 +2,7 @@ +Thu Jun 20 07:33:55 UTC 2019 - Dominique Leuenberger <[email protected]> + +- Provides/Obsoletes does not fix the issue: we have a + directory-to-symlink switch, which cannot be handled by RPM + internally. Assist using pre script (boo#1138715). + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-urllib3.spec ++++++ --- /var/tmp/diff_new_pack.GRuEec/_old 2019-06-20 11:02:21.293093208 +0200 +++ /var/tmp/diff_new_pack.GRuEec/_new 2019-06-20 11:02:21.297093214 +0200 @@ -153,8 +153,22 @@ %python_expand %fdupes %{buildroot}%{$python_sitelib} %endif -%check +%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 + rm -rfv "$CONFLICTED" + ln -s ../../backports/ssl_match_hostname \ + $CONFLICTED + fi +fi +%endif + %if %{with test} +%check skiplist='not test_select_interrupt_exception and not test_selector_error and not timeout and not test_request_host_header_ignores_fqdn_dot and not test_dotted_fqdn and not TestImportWithoutSSL' case $(uname -m) in ppc*)
