Skip to content
This repository was archived by the owner on Apr 29, 2021. It is now read-only.
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 7 additions & 3 deletions python26.spec
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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:
#
Expand Down Expand Up @@ -1094,6 +1095,9 @@ rm -fr $RPM_BUILD_ROOT
%endif

%changelog
* Tue Oct 04 2016 Charalampos Stratakis <[email protected]> - 2.6.9-3
- Workaround fix so the package does not BuildRequires python2

* Mon Oct 03 2016 Miro Hrončok <[email protected]> - 2.6.9-2
- Do not create /usr/bin/python shebangs

Expand Down