From 0b67c16546a13961e5026b6b6d8c946cb8a43878 Mon Sep 17 00:00:00 2001 From: smilner Date: Jul 07 2010 19:04:21 +0000 Subject: proposed fix for bz#611536 --- diff --git a/python-virtualenv.spec b/python-virtualenv.spec index d42fef4..b072549 100644 --- a/python-virtualenv.spec +++ b/python-virtualenv.spec @@ -3,7 +3,7 @@ Name: python-virtualenv Version: 1.4.8 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Tool to create isolated Python environments Group: Development/Languages @@ -13,8 +13,15 @@ Source0: http://pypi.python.org/packages/source/v/virtualenv/virtualenv-% BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch -BuildRequires: python-devel, python-setuptools-devel -Requires: python-setuptools, python-setuptools-devel, python-devel +BuildRequires: python-devel +Requires: python-setuptools, python-devel + +# Fedora requires python-setuptools-devel while EL5 fails on install +# See BZ#611536 (https://bugzilla.redhat.com/show_bug.cgi?id=611536) +%if 0%{?fedora} > 0 +BuildRequires: python-setuptools-devel +Requires: python-setuptools-devel +%endif %description @@ -51,6 +58,9 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Tue Jul 7 2010 Steve 'Ashcrow' Milner - 1.4.8-3 +- Fixed EPEL installation issue from BZ#611536 + * Tue Jun 8 2010 Steve 'Ashcrow' Milner - 1.4.8-2 - Only replace the python shebang on the first line (Robert Buchholz)