Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-rarfile for openSUSE:Factory 
checked in at 2022-05-04 15:11:11
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-rarfile (Old)
 and      /work/SRC/openSUSE:Factory/.python-rarfile.new.1538 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-rarfile"

Wed May  4 15:11:11 2022 rev:7 rq:974864 version:4.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-rarfile/python-rarfile.changes    
2022-02-17 00:32:45.281410299 +0100
+++ /work/SRC/openSUSE:Factory/.python-rarfile.new.1538/python-rarfile.changes  
2022-05-04 15:11:33.112201629 +0200
@@ -1,0 +2,6 @@
+Wed May  4 06:25:49 UTC 2022 - Mark??ta Machov?? <[email protected]>
+
+- Add patch help.patch and enable Python 3.10
+  * https://github.com/markokr/rarfile/pull/85
+
+-------------------------------------------------------------------

New:
----
  help.patch

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

Other differences:
------------------
++++++ python-rarfile.spec ++++++
--- /var/tmp/diff_new_pack.Fzk8Fb/_old  2022-05-04 15:11:33.584202210 +0200
+++ /var/tmp/diff_new_pack.Fzk8Fb/_new  2022-05-04 15:11:33.588202214 +0200
@@ -17,7 +17,6 @@
 
 
 %define skip_python2 1
-%define skip_python310 1
 Name:           python-rarfile
 Version:        4.0
 Release:        0
@@ -25,6 +24,8 @@
 License:        ISC
 URL:            https://rarfile.readthedocs.org/
 Source0:        
https://files.pythonhosted.org/packages/source/r/rarfile/rarfile-%{version}.tar.gz
+# https://github.com/markokr/rarfile/pull/85
+Patch0:         help.patch
 BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  bsdtar
@@ -55,6 +56,7 @@
 
 %prep
 %setup -q -n rarfile-%{version}
+%autopatch -p1
 
 %build
 %python_build

++++++ help.patch ++++++
Index: rarfile-4.0/test/test_tool.py
===================================================================
--- rarfile-4.0.orig/test/test_tool.py
+++ rarfile-4.0/test/test_tool.py
@@ -116,5 +116,5 @@ def test_cli_extract(capsys, tmp_path):
 def test_cli_help(capsys):
     assert cli("--help") == 0
     res = capsys.readouterr()
-    assert "optional" in res.out
+    assert "option" in res.out
 

Reply via email to