Hello community,
here is the log from the commit of package python-charset-normalizer for
openSUSE:Factory checked in at 2020-05-26 17:49:52
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-charset-normalizer (Old)
and /work/SRC/openSUSE:Factory/.python-charset-normalizer.new.2738 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-charset-normalizer"
Tue May 26 17:49:52 2020 rev:5 rq:808799 version:1.3.4
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-charset-normalizer/python-charset-normalizer.changes
2020-01-28 10:57:43.233144661 +0100
+++
/work/SRC/openSUSE:Factory/.python-charset-normalizer.new.2738/python-charset-normalizer.changes
2020-05-26 17:49:54.363957571 +0200
@@ -1,0 +2,5 @@
+Mon May 25 10:59:12 UTC 2020 - Petr Gajdos <[email protected]>
+
+- %python3_only -> %python_alternative
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-charset-normalizer.spec ++++++
--- /var/tmp/diff_new_pack.7VYahA/_old 2020-05-26 17:49:55.059959096 +0200
+++ /var/tmp/diff_new_pack.7VYahA/_new 2020-05-26 17:49:55.063959105 +0200
@@ -34,8 +34,10 @@
Requires: python-dragonmapper
Requires: python-loguru
Requires: python-zhon
-Suggests: python-requests-html
+Requires(post): update-alternatives
+Requires(postun): update-alternatives
Suggests: python-requests
+Suggests: python-requests-html
BuildArch: noarch
# SECTION test requirements
BuildRequires: %{python_module PrettyTable}
@@ -59,15 +61,22 @@
%install
%python_install
+%python_clone -a %{buildroot}%{_bindir}/normalizer
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%python_exec setup.py pytest
+%post
+%python_install_alternative normalizer
+
+%postun
+%python_uninstall_alternative normalizer
+
%files %{python_files}
%doc README.md
%license LICENSE
-%python3_only %{_bindir}/normalizer
+%python_alternative %{_bindir}/normalizer
%{python_sitelib}/*
%changelog