Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-tempora for openSUSE:Factory 
checked in at 2021-10-25 15:16:49
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-tempora (Old)
 and      /work/SRC/openSUSE:Factory/.python-tempora.new.1890 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-tempora"

Mon Oct 25 15:16:49 2021 rev:11 rq:923246 version:4.1.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-tempora/python-tempora.changes    
2021-09-04 22:32:12.271901031 +0200
+++ /work/SRC/openSUSE:Factory/.python-tempora.new.1890/python-tempora.changes  
2021-10-25 15:17:08.293664559 +0200
@@ -1,0 +2,10 @@
+Tue Oct  5 13:30:13 UTC 2021 - Stefan Schubert <sch...@suse.de>
+
+- Added BuildRequires:  alts
+
+-------------------------------------------------------------------
+Thu Sep 30 07:54:19 UTC 2021 - Stefan Schubert <sch...@suse.de>
+
+- Use libalternatives instead of update-alternatives.
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-tempora.spec ++++++
--- /var/tmp/diff_new_pack.68VhVp/_old  2021-10-25 15:17:09.725665454 +0200
+++ /var/tmp/diff_new_pack.68VhVp/_new  2021-10-25 15:17:09.729665457 +0200
@@ -16,6 +16,12 @@
 #
 
 
+%if 0%{?suse_version} > 1500
+%bcond_without libalternatives
+%else
+%bcond_with libalternatives
+%endif
+
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 %define skip_python2 1
 Name:           python-tempora
@@ -34,11 +40,16 @@
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  %{python_module toml}
 BuildRequires:  fdupes
-BuildRequires:  python-rpm-macros
+BuildRequires:  python-rpm-macros >= 20210929
 Requires:       python-jaraco.functools >= 1.20
 Requires:       python-pytz
+%if %{with libalternatives}
+Requires:       alts
+BuildRequires:  alts
+%else
 Requires(post): update-alternatives
 Requires(postun):update-alternatives
+%endif
 BuildArch:      noarch
 %python_subpackages
 
@@ -66,6 +77,10 @@
 sed -i -e 's:--black::' -e 's:--cov::' -e 's/--flake8//g' pytest.ini
 %pytest
 
+%pre
+# If libalternatives is used: Removing old update-alternatives entries.
+%python_libalternatives_reset_alternative calc-prorate
+
 %post
 %python_install_alternative calc-prorate
 

Reply via email to