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