Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-vcs-versioning for
openSUSE:Factory checked in at 2026-04-21 12:41:54
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-vcs-versioning (Old)
and /work/SRC/openSUSE:Factory/.python-vcs-versioning.new.11940 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-vcs-versioning"
Tue Apr 21 12:41:54 2026 rev:2 rq:1348260 version:1.1.1
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-vcs-versioning/python-vcs-versioning.changes
2026-04-13 23:19:17.285117725 +0200
+++
/work/SRC/openSUSE:Factory/.python-vcs-versioning.new.11940/python-vcs-versioning.changes
2026-04-21 12:42:09.379785587 +0200
@@ -1,0 +2,11 @@
+Mon Apr 20 16:26:19 UTC 2026 - Dirk Müller <[email protected]>
+
+- reset_alternative for sle16+
+- include README and changelog as doc
+
+-------------------------------------------------------------------
+Mon Apr 20 16:23:59 UTC 2026 - Dirk Müller <[email protected]>
+
+- Update dependencies from pyproject.toml
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-vcs-versioning.spec ++++++
--- /var/tmp/diff_new_pack.wEk8ad/_old 2026-04-21 12:42:11.967893118 +0200
+++ /var/tmp/diff_new_pack.wEk8ad/_new 2026-04-21 12:42:11.967893118 +0200
@@ -16,6 +16,12 @@
#
+%if 0%{?suse_version} > 1500
+%bcond_without libalternatives
+%else
+%bcond_with libalternatives
+%endif
+
%global flavor @BUILD_FLAVOR@%{nil}
%if "%{flavor}" == "test"
%define psuffix -test
@@ -42,9 +48,17 @@
Requires: python-packaging >= 20
BuildArch: noarch
%if %{with test}
+BuildRequires: %{python_module pytest-xdist}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module vcs-versioning >= %{version}}
%endif
+%if %{with libalternatives}
+BuildRequires: alts
+Requires: alts
+%else
+Requires(post): update-alternatives
+Requires(postun): update-alternatives
+%endif
%python_subpackages
%description
@@ -73,8 +87,12 @@
%postun
%python_uninstall_alternative vcs-versioning
+%pre
+%python_libalternatives_reset_alternative vcs-versioning
+
%files %{python_files}
%license LICENSE.txt
+%doc CHANGELOG.md README.md
%python_alternative %{_bindir}/vcs-versioning
%{python_sitelib}/vcs_versioning
%{python_sitelib}/vcs_versioning-%{version}.dist-info