Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-libarchive-c for 
openSUSE:Factory checked in at 2026-11-16 15:14:30
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-libarchive-c (Old)
 and      /work/SRC/openSUSE:Factory/.python-libarchive-c.new.1251 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-libarchive-c"

Mon Nov 16 15:14:30 2026 rev:12 rq:1397815 version:5.3

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-libarchive-c/python-libarchive-c.changes  
2026-03-29 20:01:30.419445944 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-libarchive-c.new.1251/python-libarchive-c.changes
        2026-11-16 15:14:33.315564582 +0100
@@ -1,0 +2,6 @@
+Mon Nov 16 01:30:25 UTC 2026 - Steve Kowalik <[email protected]>
+
+- Add patch support-libarchive-3.8.10.patch:
+  * Support changes required by libarchive 3.8.10.
+
+-------------------------------------------------------------------

New:
----
  support-libarchive-3.8.10.patch

----------(New B)----------
  New:
- Add patch support-libarchive-3.8.10.patch:
  * Support changes required by libarchive 3.8.10.
----------(New E)----------

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

Other differences:
------------------
++++++ python-libarchive-c.spec ++++++
--- /var/tmp/diff_new_pack.CbHZ9P/_old  2026-11-16 15:14:34.156600049 +0100
+++ /var/tmp/diff_new_pack.CbHZ9P/_new  2026-11-16 15:14:34.158600133 +0100
@@ -24,9 +24,10 @@
 Release:        0
 Summary:        Python interface to libarchive
 License:        CC0-1.0
-Group:          Development/Languages/Python
 URL:            https://github.com/Changaco/python-libarchive-c
 Source:         
https://files.pythonhosted.org/packages/source/l/libarchive-c/libarchive_c-%{version}.tar.gz
+# PATCH-FIX-UPSTREAM Based on gh#Changaco/python-libarchive-c#145
+Patch0:         support-libarchive-3.8.10.patch
 BuildRequires:  %{python_module pip}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  %{python_module wheel}

++++++ support-libarchive-3.8.10.patch ++++++
>From 10cf84fb4946d1b7b41401be00d22c80366df348 Mon Sep 17 00:00:00 2001
From: Jaipaul Cheernam <[email protected]>
Date: Mon, 19 Oct 2026 19:27:01 +0000
Subject: [PATCH] fix tests for libarchive 3.8.10

Two entry tests broke with libarchive 3.8.10:

- testtar.tar is now rejected with "Unsupported pax global extended
  header attribute 'gname'" rather than "Damaged tar archive" [1], so
  accept either message.

- The ZIP reader now honours the NTFS (0x000A) extra field [2],
  reporting unicode2.zip's mtime in UTC with sub-second precision instead
  of the local-time MS-DOS field stored in the fixture, so ignore mtime
  in that comparison.

[1] 
https://github.com/libarchive/libarchive/commit/1769a39ecce23efff9684f36571a998533088df9
[2] 
https://github.com/libarchive/libarchive/commit/4f16dbc9edcb771a19119eaaf8634ee6b57287cb
---
 tests/test_entry.py | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/tests/test_entry.py b/tests/test_entry.py
index 7c8afa7..6eaba52 100644
--- a/tests/test_entry.py
+++ b/tests/test_entry.py
@@ -65,7 +65,8 @@ def test_check_archiveentry_using_python_testtar():
     try:
         check_entries(join(data_dir, 'testtar.tar'))
     except ArchiveError as e:
-        assert e.msg == "Damaged tar archive"
+        assert e.msg in ("Damaged tar archive",
+                         "Unsupported pax global extended header attribute 
'gname'")
 
 
 def test_check_archiveentry_with_unicode_and_binary_entries_tar():
@@ -77,7 +78,7 @@ def 
test_check_archiveentry_with_unicode_and_binary_entries_zip():
 
 
 def test_check_archiveentry_with_unicode_and_binary_entries_zip2():
-    check_entries(join(data_dir, 'unicode2.zip'), ignore='mode')
+    check_entries(join(data_dir, 'unicode2.zip'), ignore='mode mtime')
 
 
 def test_check_archiveentry_with_unicode_entries_and_name_zip():
@@ -162,7 +163,7 @@ fake_hashes = dict(
 )
 mtree = (
     '#mtree\n'
-    './empty.txt nlink=0 time=0.0 mode=664 gid=0 uid=0 type=file size=42 '
+    './empty.txt time=0.0 mode=664 gid=0 uid=0 type=file size=42 '
     f'md5digest={'21'*16} rmd160digest={'21'*20} sha1digest={'21'*20} '
     f'sha256digest={'21'*32} sha384digest={'21'*48} sha512digest={'21'*64}\n'
 )

Reply via email to