churchyard pushed to pypy3 (f22). "Fix errors due to missing __pycache__"

notifications at fedoraproject.org notifications at fedoraproject.org
Sun May 10 19:32:10 UTC 2015


From f8a7311107aa7a76736e8e763a17148340131c32 Mon Sep 17 00:00:00 2001
From: Matej Stuchlik <mstuchli at redhat.com>
Date: Fri, 17 Jan 2014 10:46:17 +0100
Subject: Fix errors due to missing __pycache__


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 <mstuchli at redhat.com> - 2.2.1-2
+- Fixed errors due to missing __pycache__
+
 * Thu Dec 05 2013 Matej Stuchlik <mstuchli at redhat.com> - 2.2.1-1
 - Updated to 2.2.1
 - Several bundled modules (tkinter, sqlite3, curses, syslog) were
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/pypy3.git/commit/?h=f22&id=f8a7311107aa7a76736e8e763a17148340131c32


More information about the scm-commits mailing list