From f759a1cc864a3558be9c79e5a315eba51cefaa34 Mon Sep 17 00:00:00 2001 From: sagitter Date: Jan 14 2018 14:00:22 +0000 Subject: Use versioned Python2 packages --- diff --git a/future.spec b/future.spec index 88107a0..b94814b 100644 --- a/future.spec +++ b/future.spec @@ -24,7 +24,7 @@ Name: future Summary: Easy, clean, reliable Python 2/3 compatibility Version: 0.16.0 -Release: 6%{?dist} +Release: 7%{?dist} License: MIT Group: Applications/Engineering URL: http://python-future.org/ @@ -34,17 +34,6 @@ BuildArch: noarch ##https://github.com/PythonCharmers/python-future/issues/165 Patch0: %{name}-skip_tests_with_connection_errors.patch -%if 0%{?rhel} && 0%{?rhel} <= 6 -BuildRequires: python-argparse, python-unittest2, python-importlib -Requires: python-importlib -Requires: python-argparse -%endif -BuildRequires: python2-devel -BuildRequires: python-setuptools -BuildRequires: numpy -BuildRequires: python-requests -BuildRequires: pytest - %description %{name} is the missing compatibility layer between Python 2 and Python 3. It allows you to use a single, clean Python 3.x-compatible @@ -59,6 +48,16 @@ clean Py3-style codebase, module by module. %package -n python2-%{name} Summary: Easy, clean, reliable Python 2/3 compatibility %{?python_provide:%python_provide python2-%{name}} +%if 0%{?rhel} && 0%{?rhel} <= 6 +BuildRequires: python-argparse, python-unittest2, python-importlib +Requires: python-importlib +Requires: python-argparse +%endif +BuildRequires: python2-devel +BuildRequires: python2-setuptools +BuildRequires: python2-numpy +BuildRequires: python2-requests +BuildRequires: python2-pytest Provides: future = 0:%{version}-%{release} %description -n python2-%{name} Python2 %{name} is the missing compatibility layer between Python 2 and @@ -219,6 +218,9 @@ popd %endif %changelog +* Sun Jan 14 2018 Antonio Trande - 0.16.0-7 +- Use versioned Python2 packages + * Fri Dec 15 2017 Antonio Trande - 0.16.0-6 - Python3 built on epel7