forked from pool/python-libarchive-c
Compare commits
4 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| ec7b8bd780 | |||
| 1d6b2994d7 | |||
| aabd0af19d | |||
| 93c703ef68 |
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:7bcce24ea6c0fa3bc62468476c6d2f6264156db2f04878a372027c10615a2721
|
|
||||||
size 52279
|
|
||||||
3
libarchive_c-5.2.tar.gz
Normal file
3
libarchive_c-5.2.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:fd44a8e28509af6e78262c98d1a54f306eabd2963dfee57bf298977de5057417
|
||||||
|
size 52474
|
||||||
@@ -1,3 +1,18 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Apr 30 06:22:55 UTC 2025 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
- update to 5.2:
|
||||||
|
* Change to the library: fix inoperative `pathname` argument of
|
||||||
|
`add_files` method (#135), by @nvinson.
|
||||||
|
* Change to the tests: update a test to handle new libarchive
|
||||||
|
versions (#131).
|
||||||
|
- drop libarchive.patch (upstream)
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Nov 12 12:33:08 UTC 2024 - Markéta Machová <mmachova@suse.com>
|
||||||
|
|
||||||
|
- Add upstream libarchive.patch to fix tests
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Mar 15 21:09:39 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
Fri Mar 15 21:09:39 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-libarchive-c
|
# spec file for package python-libarchive-c
|
||||||
#
|
#
|
||||||
# Copyright (c) 2024 SUSE LLC
|
# Copyright (c) 2025 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -18,16 +18,17 @@
|
|||||||
|
|
||||||
%define requires_file() %( readlink -f '%*' | LC_ALL=C xargs -r rpm -q --qf 'Requires: %%{name} >= %%{epoch}:%%{version}\\n' -f | sed -e 's/ (none):/ /' -e 's/ 0:/ /' | grep -v "is not")
|
%define requires_file() %( readlink -f '%*' | LC_ALL=C xargs -r rpm -q --qf 'Requires: %%{name} >= %%{epoch}:%%{version}\\n' -f | sed -e 's/ (none):/ /' -e 's/ 0:/ /' | grep -v "is not")
|
||||||
|
|
||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
|
||||||
Name: python-libarchive-c
|
Name: python-libarchive-c
|
||||||
Version: 5.1
|
Version: 5.2
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Python interface to libarchive
|
Summary: Python interface to libarchive
|
||||||
License: CC0-1.0
|
License: CC0-1.0
|
||||||
Group: Development/Languages/Python
|
Group: Development/Languages/Python
|
||||||
URL: https://github.com/Changaco/python-libarchive-c
|
URL: https://github.com/Changaco/python-libarchive-c
|
||||||
Source: https://files.pythonhosted.org/packages/source/l/libarchive-c/libarchive-c-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/l/libarchive-c/libarchive_c-%{version}.tar.gz
|
||||||
|
BuildRequires: %{python_module pip}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
|
BuildRequires: %{python_module wheel}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
%if %{with libarchive_dynamically}
|
%if %{with libarchive_dynamically}
|
||||||
@@ -47,13 +48,13 @@ A Python interface to libarchive. It uses the standard ctypes_ module to
|
|||||||
dynamically load and access the C library.
|
dynamically load and access the C library.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -p1 -n libarchive-c-%{version}
|
%autosetup -p1 -n libarchive_c-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%python_build
|
%pyproject_wheel
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%python_install
|
%pyproject_install
|
||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
@@ -63,6 +64,7 @@ export LANG="en_US.UTF-8"
|
|||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%doc README.rst
|
%doc README.rst
|
||||||
%license LICENSE.md
|
%license LICENSE.md
|
||||||
%{python_sitelib}/*
|
%{python_sitelib}/libarchive
|
||||||
|
%{python_sitelib}/libarchive_c-%{version}.dist-info
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
|||||||
Reference in New Issue
Block a user