1
0

Accepting request 781197 from devel:languages:python

- Fix build on older releases

OBS-URL: https://build.opensuse.org/request/show/781197
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-libarchive?expand=0&rev=5
This commit is contained in:
2020-03-04 08:44:18 +00:00
committed by Git OBS Bridge
2 changed files with 8 additions and 3 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Mar 3 12:13:41 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>
- Fix build on older releases
-------------------------------------------------------------------
Wed Jul 24 08:09:30 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-libarchive
#
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2020 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -23,7 +23,6 @@ Version: 0.4.7
Release: 0
Summary: Python adapter for universal, libarchive-based archive access
License: GPL-2.0-only
Group: Development/Languages/Python
URL: https://github.com/dsoprea/PyEasyArchive
Source: https://files.pythonhosted.org/packages/source/l/libarchive/libarchive-%{version}.tar.gz
BuildRequires: %{python_module setuptools}
@@ -53,7 +52,8 @@ A ctypes-based adapter to libarchive.
%check
# https://github.com/dsoprea/PyEasyArchive/issues/33
%python_expand nosetests-%{$python_bin_suffix} -e test_read_symlinks
export LANG=en_US.UTF8
%python_expand nosetests-%{$python_bin_suffix} -v -e test_read_symlinks
%install
%python_install