Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-markdown-word-count for
openSUSE:Factory checked in at 2026-04-28 11:55:58
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-markdown-word-count (Old)
and /work/SRC/openSUSE:Factory/.python-markdown-word-count.new.11940 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-markdown-word-count"
Tue Apr 28 11:55:58 2026 rev:2 rq:1349430 version:0.1.0
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-markdown-word-count/python-markdown-word-count.changes
2026-03-07 20:14:58.040369480 +0100
+++
/work/SRC/openSUSE:Factory/.python-markdown-word-count.new.11940/python-markdown-word-count.changes
2026-04-28 11:59:52.718251590 +0200
@@ -1,0 +2,5 @@
+Sun Apr 26 19:22:39 UTC 2026 - Dirk Müller <[email protected]>
+
+- reset alternativef or TW
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-markdown-word-count.spec ++++++
--- /var/tmp/diff_new_pack.o5XJDX/_old 2026-04-28 11:59:53.866299817 +0200
+++ /var/tmp/diff_new_pack.o5XJDX/_new 2026-04-28 11:59:53.866299817 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-markdown-word-count
#
-# Copyright (c) 2026 SUSE LLC
+# Copyright (c) 2026 SUSE LLC and contributors
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -16,6 +16,12 @@
#
+%if 0%{?suse_version} > 1500
+%bcond_without libalternatives
+%else
+%bcond_with libalternatives
+%endif
+
Name: python-markdown-word-count
Version: 0.1.0
Release: 0
@@ -23,12 +29,19 @@
License: MIT
URL: https://github.com/gandreadis/markdown-word-count
Source:
https://files.pythonhosted.org/packages/source/m/markdown-word-count/markdown_word_count-%{version}.tar.gz
-BuildRequires: python-rpm-macros
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
+BuildRequires: python-rpm-macros
BuildArch: noarch
+%if %{with libalternatives}
+BuildRequires: alts
+Requires: alts
+%else
+Requires(post): update-alternatives
+Requires(postun): update-alternatives
+%endif
%python_subpackages
%description
@@ -48,6 +61,9 @@
%check
%pyunittest discover -v tests
+%pre
+%python_reset_alternative mwc
+
%post
%python_install_alternative mwc