From fdc25297a917fe04749e127a7c4899ca6db1a637 Mon Sep 17 00:00:00 2001 From: Petr Viktorin Date: Fri, 17 Jan 2014 00:47:47 +0100 Subject: [PATCH] Remove Python 3 from BuildRequires if building without python3 support MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This is needed for EPEL Thanks to Miro HronĨok for reporting the issue --- python-pyglet.spec | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/python-pyglet.spec b/python-pyglet.spec index c9a9a58..a27db83 100644 --- a/python-pyglet.spec +++ b/python-pyglet.spec @@ -6,7 +6,7 @@ Name: python-%{srcname} Version: %{srcversion} -Release: 0.7.alpha1%{?dist} +Release: 0.8.alpha1%{?dist} Summary: A cross-platform windowing and multimedia library for Python License: BSD @@ -22,7 +22,9 @@ Source1: pyglet-get-tarball.sh BuildArch: noarch BuildRequires: python2-devel +%if 0%{?with_python3} BuildRequires: python3-devel +%endif Requires: python %if 0%{?fedora} <= 18 @@ -129,6 +131,10 @@ popd %changelog +* Fri Jan 17 2014 Petr Viktorin - 1.2-0.8.alpha1 +- Remove Python 3 from BuildRequires if building without python3 support + (needed for EPEL) + * Mon Oct 07 2013 Petr Viktorin - 1.2-0.7.alpha1 - Enable Python 3 build