From 0ab6abd5b8eccbdcc11a8ea6be6795325182556f Mon Sep 17 00:00:00 2001 From: Athmane Madjoudj Date: Tue, 25 Jul 2017 18:10:32 +0100 Subject: [PATCH] Fix requirement (rhbz #1474447) --- python-pefile.spec | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/python-pefile.spec b/python-pefile.spec index 08629cf..1c0b35f 100644 --- a/python-pefile.spec +++ b/python-pefile.spec @@ -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 - 2017.5.26-2 +- Fix requirement (rhbz #1474447) + * Sat May 27 2017 Athmane Madjoudj - 2017.5.26-1 - Update to 2017.5.26 - Remove upstreamed patch