From 71c3306085e8ac4e4db7e396ab706a2d04243a44 Mon Sep 17 00:00:00 2001 From: Michal Cyprian Date: Aug 27 2015 08:04:09 +0000 Subject: Use %{bootstrap_python_interp} macro to run package.py script --- diff --git a/pypy.spec b/pypy.spec index 5d30d88..6101060 100644 --- a/pypy.spec +++ b/pypy.spec @@ -1,6 +1,6 @@ Name: pypy Version: 2.6.0 -Release: 4%{?dist} +Release: 5%{?dist} Summary: Python implementation with a Just-In-Time compiler Group: Development/Languages @@ -182,7 +182,6 @@ BuildRequires: python-devel %endif -BuildRequires: python BuildRequires: libffi-devel BuildRequires: tcl-devel BuildRequires: tk-devel @@ -449,7 +448,7 @@ mkdir -p %{buildroot}/%{pypyprefix} # Run installing script, archive-name %{name}-%{version} in %{buildroot}/%{_libdir} == %{pypyprefix} -%{__python} pypy/tool/release/package.py --without-gdbm --archive-name %{name}-%{version} --builddir %{buildroot}/%{_libdir} +%{bootstrap_python_interp} pypy/tool/release/package.py --without-gdbm --archive-name %{name}-%{version} --builddir %{buildroot}/%{_libdir} # Remove shebang lines from .py files that aren't executable, and # remove executability from .py files that don't have a shebang line: @@ -718,6 +717,9 @@ CheckPyPy %{name}-c-stackless %changelog +* Wed Aug 26 2015 Michal Cyprian - 2.6.0-5 +- Use %{bootstrap_python_interp} macro to run package.py + * Wed Aug 26 2015 Michal Cyprian - 2.6.0-4 - Fix debuginfo missing sources Resolves: rhbz#1256001