15
0

Accepting request 610390 from home:TheBlackCat:branches:devel:languages:python

- Update to 0.4.5
  * packaging: Now package LICENSE file.
- Separate LICENSE file no longer needed
- Conflict with python-libarchive-c

OBS-URL: https://build.opensuse.org/request/show/610390
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-libarchive?expand=0&rev=3
This commit is contained in:
Todd R
2018-05-18 14:33:53 +00:00
committed by Git OBS Bridge
parent 94a95389c3
commit d4cc6fe370
5 changed files with 17 additions and 345 deletions

View File

@@ -17,15 +17,15 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define oldpython python
Name: python-libarchive
Version: 0.4.4
Version: 0.4.5
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
Source10: https://raw.githubusercontent.com/dsoprea/PyEasyArchive/%{version}/LICENSE
BuildRequires: %{python_module devel}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
@@ -35,6 +35,10 @@ BuildRequires: python-rpm-macros
BuildRequires: %{python_module nose}
# /SECTION
Requires: libarchive-devel
Conflicts: python-libarchive-c
%ifpython2
Conflicts: %{oldpython}-libarchive-c
%endif
BuildArch: noarch
%python_subpackages
@@ -45,7 +49,6 @@ A ctypes-based adapter to libarchive.
%prep
%setup -q -n libarchive-%{version}
cp %{SOURCE10} .
%build
%python_build