churchyard pushed to pypy3 (f21). "fix SkipTest function to avoid corrupting the name of "test_gdbm""

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


From 106cb91275756dab4a44a6e75cd090ea57c6d5a7 Mon Sep 17 00:00:00 2001
From: David Malcolm <dmalcolm at redhat.com>
Date: Thu, 25 Aug 2011 14:50:53 -0400
Subject: fix SkipTest function to avoid corrupting the name of "test_gdbm"


diff --git a/pypy.spec b/pypy.spec
index 2c3e47c..b303232 100644
--- a/pypy.spec
+++ b/pypy.spec
@@ -1,6 +1,6 @@
 Name:           pypy
 Version:        1.6
-Release:        3%{?dist}
+Release:        4%{?dist}
 Summary:        Python implementation with a Just-In-Time compiler
 
 Group:          Development/Languages
@@ -666,7 +666,7 @@ topdir=$(pwd)
 
 SkipTest() {
     TEST_NAME=$1
-    sed -i -e"s|$TEST_NAME||" testnames.txt
+    sed -i -e"s|^$TEST_NAME$||g" testnames.txt
 }
 
 CheckPyPy() {
@@ -817,6 +817,9 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
+* Thu Aug 25 2011 David Malcolm <dmalcolm at redhat.com> - 1.6-4
+- fix SkipTest function to avoid corrupting the name of "test_gdbm"
+
 * Thu Aug 25 2011 David Malcolm <dmalcolm at redhat.com> - 1.6-3
 - add rpm macros file to the devel subpackage (source 2)
 - skip some tests that can't pass yet
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/pypy3.git/commit/?h=f21&id=106cb91275756dab4a44a6e75cd090ea57c6d5a7


More information about the scm-commits mailing list