17
0

4 Commits

Author SHA256 Message Date
028fccd646 Accepting request 1275107 from devel:languages:python
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1275107
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-libarchive-c?expand=0&rev=10
2025-05-07 17:19:07 +00:00
380b874fb8 - 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)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-libarchive-c?expand=0&rev=19
2025-04-30 06:26:25 +00:00
85b83a8748 Accepting request 1223788 from devel:languages:python
Forwarded request #1223660 from mcalabkova

- Add upstream libarchive.patch to fix tests

OBS-URL: https://build.opensuse.org/request/show/1223788
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-libarchive-c?expand=0&rev=9
2024-11-14 15:07:58 +00:00
9175c1a155 Accepting request 1223660 from home:mcalabkova:branches:devel:languages:python
- Add upstream libarchive.patch to fix tests

OBS-URL: https://build.opensuse.org/request/show/1223660
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-libarchive-c?expand=0&rev=17
2024-11-12 20:58:22 +00:00
4 changed files with 28 additions and 11 deletions

View File

@@ -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
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:fd44a8e28509af6e78262c98d1a54f306eabd2963dfee57bf298977de5057417
size 52474

View File

@@ -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>

View File

@@ -1,7 +1,7 @@
#
# 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
# 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")
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-libarchive-c
Version: 5.1
Version: 5.2
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
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 wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
%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.
%prep
%autosetup -p1 -n libarchive-c-%{version}
%autosetup -p1 -n libarchive_c-%{version}
%build
%python_build
%pyproject_wheel
%install
%python_install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
@@ -63,6 +64,7 @@ export LANG="en_US.UTF-8"
%files %{python_files}
%doc README.rst
%license LICENSE.md
%{python_sitelib}/*
%{python_sitelib}/libarchive
%{python_sitelib}/libarchive_c-%{version}.dist-info
%changelog