From 11f477400dc5d2c348455643eae04e1acb143fe5 Mon Sep 17 00:00:00 2001 From: Charalampos Stratakis Date: Tue, 4 Oct 2016 16:04:49 +0200 Subject: [PATCH] Workaround fix for removing BR python2 --- python26.spec | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/python26.spec b/python26.spec index a21ea4a..b71b886 100644 --- a/python26.spec +++ b/python26.spec @@ -62,7 +62,7 @@ Summary: Version %{pybasever} of the Python programming language Name: %{python} Version: 2.6.9 -Release: 2%{?dist} +Release: 3%{?dist} License: Python Group: Development/Languages Source: http://www.python.org/ftp/python/%{version}/Python-%{version}.tar.xz @@ -531,8 +531,6 @@ BuildRequires: systemtap-sdt-devel %global tapsetdir /usr/share/systemtap/tapset %endif -# Something in the make uses /usr/bin/python -BuildRequires: python2 # We don't want to provide this # No package in Fedora shall ever depend on this @@ -569,6 +567,9 @@ done # Remove embedded copy of zlib: rm -r Modules/zlib || exit 1 +# Workaround fix for BuildRequires: python2 +touch Include/Python-ast.h Python/Python-ast.c + # # Apply patches: # @@ -1094,6 +1095,9 @@ rm -fr $RPM_BUILD_ROOT %endif %changelog +* Tue Oct 04 2016 Charalampos Stratakis - 2.6.9-3 +- Workaround fix so the package does not BuildRequires python2 + * Mon Oct 03 2016 Miro HronĨok - 2.6.9-2 - Do not create /usr/bin/python shebangs