Skip to content

Commit 11f4774

Browse files
committed
Workaround fix for removing BR python2
1 parent 63ffdd0 commit 11f4774

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

python26.spec

+7-3
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@
6262
Summary: Version %{pybasever} of the Python programming language
6363
Name: %{python}
6464
Version: 2.6.9
65-
Release: 2%{?dist}
65+
Release: 3%{?dist}
6666
License: Python
6767
Group: Development/Languages
6868
Source: http://www.python.org/ftp/python/%{version}/Python-%{version}.tar.xz
@@ -531,8 +531,6 @@ BuildRequires: systemtap-sdt-devel
531531
%global tapsetdir /usr/share/systemtap/tapset
532532
%endif
533533

534-
# Something in the make uses /usr/bin/python
535-
BuildRequires: python2
536534

537535
# We don't want to provide this
538536
# No package in Fedora shall ever depend on this
@@ -569,6 +567,9 @@ done
569567
# Remove embedded copy of zlib:
570568
rm -r Modules/zlib || exit 1
571569

570+
# Workaround fix for BuildRequires: python2
571+
touch Include/Python-ast.h Python/Python-ast.c
572+
572573
#
573574
# Apply patches:
574575
#
@@ -1094,6 +1095,9 @@ rm -fr $RPM_BUILD_ROOT
10941095
%endif
10951096

10961097
%changelog
1098+
* Tue Oct 04 2016 Charalampos Stratakis <[email protected]> - 2.6.9-3
1099+
- Workaround fix so the package does not BuildRequires python2
1100+
10971101
* Mon Oct 03 2016 Miro Hrončok <[email protected]> - 2.6.9-2
10981102
- Do not create /usr/bin/python shebangs
10991103

0 commit comments

Comments
 (0)