[packages/python3-libarchive-c] - updated to 5.3
qboosh
qboosh at pld-linux.org
Fri Jul 18 20:44:36 CEST 2025
commit 9e1eb80f63b6c199f3047096f2806f8ea959b105
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Fri Jul 18 20:46:13 2025 +0200
- updated to 5.3
python3-libarchive-c.spec | 12 +++++++-----
1 file changed, 7 insertions(+), 5 deletions(-)
---
diff --git a/python3-libarchive-c.spec b/python3-libarchive-c.spec
index 6830485..537b778 100644
--- a/python3-libarchive-c.spec
+++ b/python3-libarchive-c.spec
@@ -5,15 +5,16 @@
Summary: Python interface to libarchive
Summary(pl.UTF-8): Pythonowy interfejs do libarchive
Name: python3-libarchive-c
-Version: 5.2
+Version: 5.3
Release: 1
License: CC0
Group: Libraries/Python
-#Source0Download: https://pypi.org/simple/libarchive/
+#Source0Download: https://pypi.org/simple/libarchive-c/
Source0: https://files.pythonhosted.org/packages/source/l/libarchive-c/libarchive_c-%{version}.tar.gz
-# Source0-md5: a66bd9489160267c8828ad91cac038b8
+# Source0-md5: 0f6b2d96b936c9b7f26dfec3255f7aaf
URL: https://pypi.org/project/libarchive-c/
-BuildRequires: libarchive-devel
+# for libarchive>=3.8 it expects all digests support
+BuildRequires: libarchive-devel >= 3.8.1-2
BuildRequires: python3-modules >= 1:3.8
BuildRequires: python3-setuptools
%if %{with tests}
@@ -21,7 +22,7 @@ BuildRequires: python3-pytest
%endif
BuildRequires: rpm-pythonprov
BuildRequires: rpmbuild(macros) >= 1.714
-Requires: libarchive
+Requires: libarchive >= 3.8.1-2
Requires: python3-modules >= 1:3.8
BuildArch: noarch
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -43,6 +44,7 @@ ctypes do dynamicznego ładowania i dostępu do biblioteki C.
%if %{with tests}
LC_ALL=C.UTF-8 \
PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 \
+PYTHONPATH=$(pwd) \
%{__python3} -m pytest tests
%endif
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python3-libarchive-c.git/commitdiff/9e1eb80f63b6c199f3047096f2806f8ea959b105
More information about the pld-cvs-commit
mailing list