Hello community, here is the log from the commit of package python-hyper for openSUSE:Factory checked in at 2020-05-26 17:49:41 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-hyper (Old) and /work/SRC/openSUSE:Factory/.python-hyper.new.2738 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-hyper" Tue May 26 17:49:41 2020 rev:6 rq:808792 version:0.7.0+git88.18b629b Changes: -------- --- /work/SRC/openSUSE:Factory/python-hyper/python-hyper.changes 2020-04-23 18:37:15.600870848 +0200 +++ /work/SRC/openSUSE:Factory/.python-hyper.new.2738/python-hyper.changes 2020-05-26 17:49:42.859932357 +0200 @@ -1,0 +2,5 @@ +Mon May 25 10:59:21 UTC 2020 - Petr Gajdos <[email protected]> + +- %python3_only -> %python_alternative + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-hyper.spec ++++++ --- /var/tmp/diff_new_pack.fN008m/_old 2020-05-26 17:49:43.443933637 +0200 +++ /var/tmp/diff_new_pack.fN008m/_new 2020-05-26 17:49:43.447933646 +0200 @@ -49,6 +49,8 @@ Requires: python-h2 > 2.5.0 Requires: python-hyperframe >= 3.2 Requires: python-rfc3986 >= 1.1.0 +Requires(post): update-alternatives +Requires(postun): update-alternatives %if %{with python2} BuildRequires: python-enum34 >= 1.0.4 BuildRequires: python-futures @@ -78,6 +80,7 @@ %install %python_install +%python_clone -a %{buildroot}%{_bindir}/hyper %python_expand %fdupes %{buildroot}%{$python_sitelib} %check @@ -85,10 +88,16 @@ # test_useful_error_with_no_protocol test_goaway_frame_PROTOCOL_ERROR test_goaway_frame_HTTP_1_1_REQUIRED test_goaway_frame_invalid_error_code - httplib update changed error messages reported %python_exec setup.py pytest --addopts="test/ -k 'not (rpmfail_getaddrinfo or test_HTTPConnection_with_custom_context or test_useful_error_with_no_protocol or test_goaway_frame_PROTOCOL_ERROR or test_goaway_frame_HTTP_1_1_REQUIRED or test_goaway_frame_invalid_error_code)'" +%post +%python_install_alternative hyper + +%postun +%python_uninstall_alternative hyper + %files %{python_files} %license LICENSE %doc README.rst -%python3_only %{_bindir}/hyper +%python_alternative %{_bindir}/hyper %{python_sitelib}/hyper* %changelog
