Fix requirement (rhbz #1474447)

This commit is contained in:
Athmane Madjoudj 2017-07-25 18:10:32 +01:00
parent 80a93421d3
commit 0ab6abd5b8

View File

@ -17,7 +17,7 @@ Some of the tasks that pefile makes possible are:\
Name: python-%{srcname}
Version: 2017.5.26
Release: 1%{?dist}
Release: 2%{?dist}
Summary: Python module for working with Portable Executable files
License: MIT
URL: https://github.com/erocarrera/pefile
@ -25,6 +25,11 @@ URL: https://github.com/erocarrera/pefile
Source0: https://github.com/erocarrera/pefile/archive/v%{version}/pefile-%{version}.tar.gz
BuildArch: noarch
BuildRequires: python2-devel
BuildRequires: python2-setuptools
BuildRequires: python3-devel
BuildRequires: python3-setuptools
# For the patch
# BuildRequires: git-core
@ -34,8 +39,7 @@ BuildArch: noarch
%package -n python2-%{srcname}
Summary: %{summary}
%{?python_provide:%python_provide python2-%{srcname}}
BuildRequires: python2-devel
BuildRequires: python2-setuptools
Requires: python2-future
%description -n python2-%{srcname}
%{common_desc}
@ -43,8 +47,7 @@ BuildRequires: python2-setuptools
%package -n python3-%{srcname}
Summary: %{summary}
%{?python_provide:%python_provide python3-%{srcname}}
BuildRequires: python3-devel
BuildRequires: python3-setuptools
Requires: python3-future
%description -n python3-%{srcname}
%{common_desc}
@ -77,6 +80,9 @@ sed -i -e '/^#!\//, 1d' pefile.py
%{python3_sitelib}/*
%changelog
* Tue Jul 25 2017 Athmane Madjoudj <athmane@fedoraproject.org> - 2017.5.26-2
- Fix requirement (rhbz #1474447)
* Sat May 27 2017 Athmane Madjoudj <athmane@fedoraproject.org> - 2017.5.26-1
- Update to 2017.5.26
- Remove upstreamed patch