Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-email-validator for 
openSUSE:Factory checked in at 2025-07-09 17:26:10
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-email-validator (Old)
 and      /work/SRC/openSUSE:Factory/.python-email-validator.new.7373 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-email-validator"

Wed Jul  9 17:26:10 2025 rev:11 rq:1291275 version:2.2.0

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/python-email-validator/python-email-validator.changes
    2025-06-24 20:46:11.200936031 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-email-validator.new.7373/python-email-validator.changes
  2025-07-09 17:26:17.382258427 +0200
@@ -1,0 +2,5 @@
+Tue Jul  8 13:11:57 UTC 2025 - Markéta Machová <mmach...@suse.com>
+
+- Convert to libalternatives
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-email-validator.spec ++++++
--- /var/tmp/diff_new_pack.x4x1zb/_old  2025-07-09 17:26:18.258294878 +0200
+++ /var/tmp/diff_new_pack.x4x1zb/_new  2025-07-09 17:26:18.258294878 +0200
@@ -16,6 +16,7 @@
 #
 
 
+%bcond_without libalternatives
 %{?sle15_python_module_pythons}
 Name:           python-email-validator
 Version:        2.2.0
@@ -34,12 +35,12 @@
 BuildRequires:  %{python_module pytest >= 5.0}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  %{python_module wheel}
+BuildRequires:  alts
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
+Requires:       alts
 Requires:       python-dnspython >= 1.15.0
 Requires:       python-idna >= 2.0.0
-Requires(post): update-alternatives
-Requires(postun): update-alternatives
 Provides:       python-email_validator = %{version}-%{release}
 Obsoletes:      python-email_validator < %{version}-%{release}
 BuildArch:      noarch
@@ -78,11 +79,8 @@
 donttest="test_caching_dns_resolver"
 %pytest tests -k "not ($donttest)"
 
-%post
-%python_install_alternative email_validator
-
-%postun
-%python_uninstall_alternative email_validator
+%pre
+%python_libalternatives_reset_alternative email_validator
 
 %files %{python_files}
 %license LICENSE

Reply via email to