Name: python-libarchive-c Version: 2.8 Release: 1%{?dist} Summary: Python interface to libarchive License: CC0 URL: https://github.com/Changaco/python-libarchive-c Source0: https://github.com/Changaco/python-libarchive-c/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz BuildRequires: libarchive-devel BuildArch: noarch %global _description \ The libarchive library provides a flexible interface for reading and writing \ archives in various formats such as tar and cpio. libarchive also supports \ reading and writing archives compressed using various compression filters such \ as gzip and bzip2. \ \ A Python interface to libarchive. It uses the standard ctypes module to \ dynamically load and access the C library. %description %_description %package -n python2-libarchive-c Summary: %{summary} %{?python_provide:%python_provide python2-libarchive-c} BuildRequires: python2-setuptools BuildRequires: python2-devel BuildRequires: python2-mock BuildRequires: python2-pytest BuildRequires: glibc-common Requires: libarchive %description -n python2-libarchive-c %_description %package -n python3-libarchive-c Summary: %{summary} %{?python_provide:%python_provide python3-libarchive-c} BuildRequires: python3-setuptools BuildRequires: python3-devel BuildRequires: python3-mock BuildRequires: python3-pytest Requires: libarchive %description -n python3-libarchive-c %_description %prep %autosetup -n %{name}-%{version} -p1 %build %py2_build %py3_build %install %py2_install %py3_install %{_fixperms} %{buildroot} %check LC_ALL=en_US.utf8 py.test-%{python2_version} -s -vv tests LC_ALL=en_US.utf8 py.test-%{python3_version} -s -vv tests %global _docdir_fmt %{name} %files -n python2-libarchive-c %doc README.rst %license LICENSE.md %{python2_sitelib}/libarchive* %files -n python3-libarchive-c %doc README.rst %license LICENSE.md %{python3_sitelib}/libarchive* %changelog * Mon Jun 25 2018 Miro Hrončok - 2.8-1 - Update to 2.8 (#1589605) * Tue Jun 19 2018 Miro Hrončok - 2.5-7 - Rebuilt for Python 3.7 * Fri Feb 09 2018 Fedora Release Engineering - 2.5-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Thu Jan 25 2018 Iryna Shcherbina - 2.5-5 - Update Python 2 dependency declarations to new packaging standards (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3) * Thu Jul 27 2017 Fedora Release Engineering - 2.5-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Sat Feb 11 2017 Fedora Release Engineering - 2.5-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Mon Dec 19 2016 Miro Hrončok - 2.5-2 - Rebuild for Python 3.6 * Mon Aug 15 2016 Zbigniew Jędrzejewski-Szmek - 2.5-1 - Update to latest version * Tue Jul 19 2016 Fedora Release Engineering - 2.3-2 - https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages * Wed May 04 2016 Zbigniew Jędrzejewski-Szmek - 2.3-1 - Update to latest release * Wed May 04 2016 Pavel Raiskup - 2.2-5 - fix the build against new libarchive - stop requiring libarchive 3.1.2 explicitly * Wed May 04 2016 Zbigniew Jędrzejewski-Szmek - 2.2-4 - Rebuild for libarchive 3.2.0 * Wed Mar 9 2016 Zbigniew Jędrzejewski-Szmek - 2.2-3 - Add license text * Tue Mar 8 2016 Zbigniew Jędrzejewski-Szmek - 2.2-2 - Remove debuginfo removal and enable tests * Sat Dec 05 2015 Dhiru Kholia - 2.2-1 - Initial version