Fix python3 compatibility - bytes and str

This commit is contained in:
Kevin Fenzi 2018-11-18 09:09:34 -08:00
parent e201dfe596
commit a13d3d0784

View File

@ -1,12 +1,13 @@
Name: python-cpio
Version: 0.1
Release: 30%{?dist}
Release: 31%{?dist}
Summary: A Python module for accessing cpio archives
License: LGPLv2+
URL: http://developer.berlios.de/projects/python-cpio/
Source0: http://download.berlios.de/python-cpio/python-cpio-0.1.tar.bz2
Patch0: cpioarchive_supports_2_3.patch
Patch1: cpioarchive_bytes_str_compatibility.patch
BuildArch: noarch
BuildRequires: python3-devel
@ -24,6 +25,7 @@ Summary: %summary
%prep
%setup -q
%patch0
%patch1
%build
%py3_build
@ -40,6 +42,9 @@ Summary: %summary
%changelog
* Tue Nov 13 2018 Watson Yuuma Sato <wsato@redhat.com> - 0.1-31
- Fix python3 compatibility - bytes and str
* Wed Oct 17 2018 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 0.1-30
- Subpackage python2-cpio has been removed
See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal