Remove Python 3 from BuildRequires if building without python3 support
This is needed for EPEL Thanks to Miro Hrončok for reporting the issue
This commit is contained in:
parent
462d9b733b
commit
fdc25297a9
1 changed files with 7 additions and 1 deletions
|
|
@ -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 <encukou@gmail.com> - 1.2-0.8.alpha1
|
||||
- Remove Python 3 from BuildRequires if building without python3 support
|
||||
(needed for EPEL)
|
||||
|
||||
* Mon Oct 07 2013 Petr Viktorin <encukou@gmail.com> - 1.2-0.7.alpha1
|
||||
- Enable Python 3 build
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue