Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package RBTools for openSUSE:Factory checked 
in at 2026-06-27 18:07:22
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/RBTools (Old)
 and      /work/SRC/openSUSE:Factory/.RBTools.new.11887 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "RBTools"

Sat Jun 27 18:07:22 2026 rev:3 rq:1361922 version:6.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/RBTools/RBTools.changes  2021-05-19 
17:50:10.453334835 +0200
+++ /work/SRC/openSUSE:Factory/.RBTools.new.11887/RBTools.changes       
2026-06-27 18:09:40.803246365 +0200
@@ -1,0 +2,19 @@
+Fri Jun 26 13:23:30 UTC 2026 - Martin Pluskal <[email protected]>
+
+- Update to version 6.0:
+  * Major rewrite of the command, API client and diff tooling
+    since the 1.0 series; requires Python >= 3.10
+- Modernize the packaging:
+  * Build with the modern Python singlespec macros
+    (%pyproject_wheel/%pyproject_install) and ship for all
+    configured Python flavours
+  * Manage the rbt command via update-alternatives
+  * Obsolete/provide the old non-flavoured RBTools package so
+    the renamed flavours supersede it (resolves the /usr/bin/rbt
+    and rbtools/api file conflict that blocked the update)
+  * Refresh the runtime dependencies for 6.0 (new appdirs,
+    certifi, housekeeping, packaging, puremagic, pydiffx,
+    typelets, typing_extensions, importlib-metadata and
+    importlib-resources requirements; drop the obsolete six and
+    setuptools runtime deps)
+-------------------------------------------------------------------

Old:
----
  RBTools-1.0.3.tar.gz

New:
----
  rbtools-6.0.tar.gz

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

Other differences:
------------------
++++++ RBTools.spec ++++++
--- /var/tmp/diff_new_pack.uh737m/_old  2026-06-27 18:09:41.351264923 +0200
+++ /var/tmp/diff_new_pack.uh737m/_new  2026-06-27 18:09:41.355265059 +0200
@@ -1,7 +1,7 @@
 #
-# spec file for package rbtools
+# spec file for package RBTools
 #
-# Copyright (c) 2021 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
@@ -17,53 +17,79 @@
 
 
 Name:           RBTools
-Version:        1.0.3
+Version:        6.0
 Release:        0
-Summary:        Command line tools for interacting with review board
+Summary:        Command line tools for interacting with Review Board
 License:        MIT
-Group:          Development/Tools/Other
 URL:            https://www.reviewboard.org
-Source:         
https://downloads.reviewboard.org/releases/RBTools/1.0/RBTools-%{version}.tar.gz
+Source:         
https://files.pythonhosted.org/packages/source/r/rbtools/rbtools-%{version}.tar.gz
+BuildRequires:  %{python_module pip}
+BuildRequires:  %{python_module setuptools >= 74}
+BuildRequires:  %{python_module wheel}
 BuildRequires:  fdupes
-BuildRequires:  python3-setuptools
-Requires:       python3-colorama
-Requires:       python3-setuptools
-Requires:       python3-six >= 1.8.0
-Requires:       python3-texttable
-Requires:       python3-tqdm
+BuildRequires:  python-rpm-macros
+Requires:       python-appdirs >= 1.4.4
+Requires:       python-certifi >= 2023.5.7
+Requires:       python-colorama
+Requires:       python-housekeeping >= 1.1
+Requires:       python-importlib-metadata >= 5.0
+Requires:       python-importlib-resources >= 5.9
+Requires:       python-packaging >= 21.3
+Requires:       python-puremagic
+Requires:       python-pydiffx >= 1.1
+Requires:       python-texttable
+Requires:       python-tqdm
+Requires:       python-typelets >= 1.1
+Requires:       python-typing_extensions >= 4.3.0
+Requires(post): update-alternatives
+Requires(postun): update-alternatives
+# RBTools used to be a single non-flavoured package shipping /usr/bin/rbt;
+# the singlespec flavours now carry it, so supersede the old package.
+Provides:       RBTools = %{version}-%{release}
+Obsoletes:      RBTools < %{version}
 BuildArch:      noarch
+%python_subpackages
 
 %description
-rbtools is a set of client tools to use with Review Board.
-This consists of the following officially supported tools:
-
-    * post-review
-      - Create and update review requests based on changes in a local tree.
-    * rbt
-      - Execute a number of useful sub-commands to interact with local source
-        code repositories and Review Board.
-    * Python API Client
-      - Python bindings to simplify interaction with the the Review Board
-        Web API.
-
-There are also some user-contributed scripts and application plugins in the
-contrib directory. See the associated README files for more information.
+RBTools is a set of client tools to use with Review Board. This
+consists of the rbt command, which provides a number of sub-commands to
+create and update review requests from local source trees and otherwise
+interact with a Review Board server, along with a Python API client to
+simplify interaction with the Review Board web API.
 
 %prep
-%autosetup
-sed -ie "/^#\!\/usr\/bin\/env/d" rbtools/utils/appdirs.py
+%autosetup -p1 -n rbtools-%{version}
+# concrete interpreter for the shipped test-editor stub 
(env-script-interpreter)
+sed -i '1s|^#!%{_bindir}/env python|#!%{_bindir}/python3|' 
rbtools/testing/scripts/editor.py
 
 %build
-%python3_build
+%pyproject_wheel
 
 %install
-%python3_install
-%fdupes -s %{buildroot}%{python3_sitelib}
+%pyproject_install
+# drop the bundled test suites and fixtures (fake VCS repos, dotfiles,
+# zero-length files) that otherwise ship into site-packages
+%python_expand find %{buildroot}%{$python_sitelib}/rbtools -type d -name tests 
-prune -exec rm -rf {} +
+# force hash-based .pyc (avoid python-bytecode-inconsistent-mtime)
+%python_expand $python -m compileall -q -f -o 0 -o 1 --invalidation-mode 
unchecked-hash %{buildroot}%{$python_sitelib}/rbtools
+%python_clone -a %{buildroot}%{_bindir}/rbt
+%python_expand %fdupes %{buildroot}%{$python_sitelib}
+
+%check
+# The full test suite drives external VCS tooling and a Review Board
+# server; run a smoke check that the package imports instead.
+%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} $python -c "import 
rbtools"
+
+%post
+%python_install_alternative rbt
+
+%postun
+%python_uninstall_alternative rbt
 
-%files
+%files %{python_files}
 %license COPYING
-%doc README.md
-%{_bindir}/rbt
-%{python3_sitelib}/rbtools*
-%{python3_sitelib}/RBTools-%{version}-py%{py3_ver}.egg-info
+%doc AUTHORS NEWS README.md
+%python_alternative %{_bindir}/rbt
+%{python_sitelib}/rbtools
+%{python_sitelib}/rbtools-%{version}.dist-info
 

Reply via email to