diff --git python-libarchive/python-libarchive.spec python-libarchive/python-libarchive.spec.tmp index eabf994478..dfa2383956 100644 --- python-libarchive/python-libarchive.spec +++ python-libarchive/python-libarchive.spec.tmp @@ -10,7 +10,7 @@ name: python-%{baselib} # "Version" is upstream_version + upstream_release # "-" has been replaced by "." as suggested by #fedora-devel folks Version: %{upstream_version}.%{upstream_release} -Release: 12%{?dist} +Release: 13%{?dist} Summary: Fully functional Python wrapper for libarchive License: BSD URL: http://code.google.com/p/python-libarchive/ @@ -23,22 +23,30 @@ BuildRequires: python-setuptools BuildRequires: %{baselib}-devel BuildRequires: swig -%description -Fully functional Python wrapper for libarchive. Created using SWIG. The -low-level API provides access to all of the functionality of libarchive. - -The package also includes a high level python library which mimics the zipfile -and tarfile modules. +%global _description\ +Fully functional Python wrapper for libarchive. Created using SWIG. The\ +low-level API provides access to all of the functionality of libarchive.\ +\ +The package also includes a high level python library which mimics the zipfile\ +and tarfile modules.\ +\ +Libarchive supports the following:\ +\ +- Reads a variety of formats, including tar, pax, cpio, zip, xar, lha, ar, cab,\ + mtree, rar, and ISO images.\ +\ +- Writes tar, pax, cpio, zip, xar, ar, ISO, mtree, and shar archives.\ +\ +- Automatically handles archives compressed with gzip, bzip2, lzip, xz, lzma,\ + or compress. -Libarchive supports the following: +%description %_description -- Reads a variety of formats, including tar, pax, cpio, zip, xar, lha, ar, cab, - mtree, rar, and ISO images. +%package -n python2-%{baselib} +Summary: %summary +%{?python_provide:%python_provide python2-%{baselib}} -- Writes tar, pax, cpio, zip, xar, ar, ISO, mtree, and shar archives. - -- Automatically handles archives compressed with gzip, bzip2, lzip, xz, lzma, - or compress. +%description -n python2-%{baselib} %_description %prep %setup -qn %{name}-%{upstream_version}-%{upstream_release} @@ -58,11 +66,15 @@ make popd %{__python} tests.py -%files +%files -n python2-%{baselib} %doc README.rst %{python_sitearch}/* %changelog +* Sat Aug 12 2017 Zbigniew Jędrzejewski-Szmek - 3.1.2.1-13 +- Python 2 binary package renamed to python2-libarchive + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Aug 03 2017 Fedora Release Engineering - 3.1.2.1-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild