From f8a7311107aa7a76736e8e763a17148340131c32 Mon Sep 17 00:00:00 2001 From: Matej Stuchlik Date: Fri, 17 Jan 2014 10:46:17 +0100 Subject: [PATCH] Fix errors due to missing __pycache__ --- pypy.spec | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/pypy.spec b/pypy.spec index 21987ac..8604207 100644 --- a/pypy.spec +++ b/pypy.spec @@ -1,6 +1,6 @@ Name: pypy Version: 2.2.1 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Python implementation with a Just-In-Time compiler Group: Development/Languages @@ -581,10 +581,13 @@ mkdir -p %{buildroot}/%{pypyprefix}/site-packages %{buildroot}/%{_bindir}/pypy \ 0 -%{goal_dir}/pypy -c 'import _tkinter' -%{goal_dir}/pypy -c 'import _sqlite3' -%{goal_dir}/pypy -c 'import _curses' -%{goal_dir}/pypy -c 'import syslog' +%{buildroot}/%{pypyprefix}/pypy -c 'import _tkinter' +%{buildroot}/%{pypyprefix}/pypy -c 'import Tkinter' +%{buildroot}/%{pypyprefix}/pypy -c 'import _sqlite3' +%{buildroot}/%{pypyprefix}/pypy -c 'import _curses' +%{buildroot}/%{pypyprefix}/pypy -c 'import curses' +%{buildroot}/%{pypyprefix}/pypy -c 'import syslog' +%{buildroot}/%{pypyprefix}/pypy -c 'from _sqlite3 import *' # Header files for C extension modules. # Upstream's packaging process (pypy/tool/release/package.py) @@ -824,6 +827,9 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Thu Jan 16 2014 Matej Stuchlik - 2.2.1-2 +- Fixed errors due to missing __pycache__ + * Thu Dec 05 2013 Matej Stuchlik - 2.2.1-1 - Updated to 2.2.1 - Several bundled modules (tkinter, sqlite3, curses, syslog) were