Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-libarchive for
openSUSE:Factory checked in at 2024-04-08 17:40:41
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-libarchive (Old)
and /work/SRC/openSUSE:Factory/.python-libarchive.new.1905 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-libarchive"
Mon Apr 8 17:40:41 2024 rev:7 rq:1166159 version:0.4.7
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-libarchive/python-libarchive.changes
2020-08-13 10:18:20.790761691 +0200
+++
/work/SRC/openSUSE:Factory/.python-libarchive.new.1905/python-libarchive.changes
2024-04-08 17:53:13.047779170 +0200
@@ -1,0 +2,6 @@
+Mon Apr 8 10:51:54 UTC 2024 - Daniel Garcia <[email protected]>
+
+- Don't modify files at %check state, bsc#1222349
+- Do not distribute any test file.
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-libarchive.spec ++++++
--- /var/tmp/diff_new_pack.psDCgj/_old 2024-04-08 17:53:13.515796444 +0200
+++ /var/tmp/diff_new_pack.psDCgj/_new 2024-04-08 17:53:13.519796592 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-libarchive
#
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -16,7 +16,6 @@
#
-%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define oldpython python
Name: python-libarchive
Version: 0.4.7
@@ -48,16 +47,17 @@
7-Zip is supported for both reading and writing.
%prep
-%setup -q -n libarchive-%{version}
-%autopatch -p1
+%autosetup -p1 -n libarchive-%{version}
+# do not distribute any test file
+sed -i "s/'tests'/'tests','tests.adapters','tests.types'/" setup.py
+# test_read_symlinks expects README.rst to be symlink
+ln -sf libarchive/resources/README.rst README.rst
%build
%python_build
%check
export LANG=en_US.UTF8
-# test_read_symlinks expects README.rst to be symlink
-ln -sf libarchive/resources/README.rst README.rst
%pytest
%install
@@ -67,5 +67,6 @@
%files %{python_files}
%doc README.rst
%license LICENSE
-%{python_sitelib}/*
+%{python_sitelib}/libarchive
+%{python_sitelib}/libarchive-%{version}*-info