Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-striprtf for openSUSE:Factory
checked in at 2026-04-28 16:40:14
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-striprtf (Old)
and /work/SRC/openSUSE:Factory/.python-striprtf.new.11940 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-striprtf"
Tue Apr 28 16:40:14 2026 rev:6 rq:1349776 version:0.0.32
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-striprtf/python-striprtf.changes
2026-04-26 21:14:08.852369290 +0200
+++
/work/SRC/openSUSE:Factory/.python-striprtf.new.11940/python-striprtf.changes
2026-04-28 16:40:17.415272257 +0200
@@ -1,0 +2,13 @@
+Tue Apr 28 11:40:11 UTC 2026 - Markéta Machová <[email protected]>
+
+- Convert to libalternatives on SLE-16-based and newer systems only
+
+-------------------------------------------------------------------
+Mon Apr 27 15:51:20 UTC 2026 - Martin Hauke <[email protected]>
+
+- Update to version 0.0.32
+ * Fixed Wrong _version file.
+- Drop patch
+ * version-update.patch
+
+-------------------------------------------------------------------
Old:
----
striprtf-0.0.31.tar.gz
version-update.patch
New:
----
striprtf-0.0.32.tar.gz
----------(Old B)----------
Old:- Drop patch
* version-update.patch
----------(Old E)----------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-striprtf.spec ++++++
--- /var/tmp/diff_new_pack.PQcqUQ/_old 2026-04-28 16:40:18.079299718 +0200
+++ /var/tmp/diff_new_pack.PQcqUQ/_new 2026-04-28 16:40:18.083299883 +0200
@@ -2,7 +2,7 @@
# spec file for package python-striprtf
#
# Copyright (c) 2026 SUSE LLC and contributors
-# Copyright (c) 2024-2025, Martin Hauke <[email protected]>
+# Copyright (c) 2024-2026, Martin Hauke <[email protected]>
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,24 +17,32 @@
#
+%if 0%{?suse_version} > 1500
+%bcond_without libalternatives
+%else
+%bcond_with libalternatives
+%endif
Name: python-striprtf
-Version: 0.0.31
+Version: 0.0.32
Release: 0
Summary: A simple library to convert rtf to text
License: BSD-3-Clause
URL: https://github.com/joshy/striprtf
Source:
https://github.com/joshy/striprtf/archive/refs/tags/v%{version}.tar.gz#/striprtf-%{version}.tar.gz
-Patch: version-update.patch
BuildRequires: %{python_module hatchling >= 1.21.0}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module pytest >= 7.0.0}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
-Requires: python-twine >= 6.1.0
+BuildArch: noarch
+%if %{with libalternatives}
+BuildRequires: alts
+Requires: alts
+%else
Requires(post): update-alternatives
Requires(postun): update-alternatives
-BuildArch: noarch
+%endif
%python_subpackages
%description
@@ -51,15 +59,15 @@
%python_clone -a %{buildroot}%{_bindir}/striprtf
%python_expand %fdupes %{buildroot}%{$python_sitelib}
-%pre
-%python_libalternatives_reset_alternative striprtf
-
%post
%python_install_alternative striprtf
%postun
%python_uninstall_alternative striprtf
+%pre
+%python_libalternatives_reset_alternative striprtf
+
%check
%pytest
++++++ striprtf-0.0.31.tar.gz -> striprtf-0.0.32.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/striprtf-0.0.31/CHANGELOG.md
new/striprtf-0.0.32/CHANGELOG.md
--- old/striprtf-0.0.31/CHANGELOG.md 2026-04-23 09:31:08.000000000 +0200
+++ new/striprtf-0.0.32/CHANGELOG.md 2026-04-27 17:40:27.000000000 +0200
@@ -1,5 +1,11 @@
# Changelog
+## v0.0.32 - 27.04.206
+ * Wrong _version file
+
+## v0.0.31 - 23.04.206
+ * Accidently added twine as runtime dependency
+
## v0.0.30 - 23.04.206
* Fixed https://github.com/joshy/striprtf/issues/63
* Added py.typed for MyPy support
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/striprtf-0.0.31/DEVELOPMENT.md
new/striprtf-0.0.32/DEVELOPMENT.md
--- old/striprtf-0.0.31/DEVELOPMENT.md 2026-04-23 09:31:08.000000000 +0200
+++ new/striprtf-0.0.32/DEVELOPMENT.md 2026-04-27 17:40:27.000000000 +0200
@@ -96,11 +96,14 @@
2. Publish the package
uv add twine
```
-python setup.py sdist bdist_wheel
twine upload -r testpypi dist/*
twine upload -r pypi dist/*
-```
+3. Tags
+```
+jj git set v0.0.31 -r master
+jj git export && git push origin v0.0.31
+```
## Project Structure
- `striprtf/` - Main package directory
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/striprtf-0.0.31/pyproject.toml
new/striprtf-0.0.32/pyproject.toml
--- old/striprtf-0.0.31/pyproject.toml 2026-04-23 09:31:08.000000000 +0200
+++ new/striprtf-0.0.32/pyproject.toml 2026-04-27 17:40:27.000000000 +0200
@@ -17,7 +17,7 @@
"License :: OSI Approved :: BSD License",
]
dependencies = [
- "twine>=6.1.0",
+
]
scripts = { striprtf = "striprtf.striprtf:main" }
@@ -30,6 +30,7 @@
dev = [
"pytest>=7.0.0",
"build>=1.0.0",
+ "twine>=6.1.0",
]
[tool.hatch.version]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/striprtf-0.0.31/striprtf/_version.py
new/striprtf-0.0.32/striprtf/_version.py
--- old/striprtf-0.0.31/striprtf/_version.py 2026-04-23 09:31:08.000000000
+0200
+++ new/striprtf-0.0.32/striprtf/_version.py 2026-04-27 17:40:27.000000000
+0200
@@ -1 +1 @@
-__version__ = "0.0.30"
+__version__ = "0.0.32"