[python26/el5/master] Remove Source6: runtests.sh as it is deprecated
derks
derks at fedoraproject.org
Mon Feb 28 18:18:19 UTC 2011
commit e6049b01792c6ce3c1a6a0b78bdd83ed36282071
Author: BJ Dierkes <wdierkes at 5dollarwhitebox.org>
Date: Mon Feb 28 12:17:24 2011 -0600
Remove Source6: runtests.sh as it is deprecated
python26.spec | 14 ++++----------
1 files changed, 4 insertions(+), 10 deletions(-)
---
diff --git a/python26.spec b/python26.spec
index 6144571..a5c7ab5 100644
--- a/python26.spec
+++ b/python26.spec
@@ -2,7 +2,8 @@
%global __python_ver 26
%global unicode ucs4
-# add --without tests (on by default)
+# Note: bcond_without adds the '--without tests' build condition.
+# Building 'with tests' is the default.
%bcond_without tests
%global _default_patch_fuzz 2
@@ -151,10 +152,6 @@ Source4: systemtap-example.stp
# be byte-compiled using python2.6
Source5: macros.python26
-# A bash script for more easily running the regression test suite.
-# Taken from the "py3k" branch from upstream:
-Source6: runtests.sh
-
# An alternative script that allows packages to build against python and python26
# via the same source.
Source7: brp-multiple-python-bytecompile
@@ -535,10 +532,6 @@ code that uses more than just unittest and/or test_support.py.
cp -a %{SOURCE4} .
%endif # with_systemtap
-# Provide the runtests.sh from py3k branch for use by the "check" stage:
-cp -a %{SOURCE6} .
-chmod +x runtests.sh
-
# Ensure that we're using the system copy of various libraries, rather than
# copies shipped by upstream in the tarball:
# Remove embedded copy of expat:
@@ -1205,7 +1198,8 @@ rm -fr %{buildroot}
bug #7564: test_ioctl may fail when run in background.
http://bugs.python.org/issue7564
- Use 'make test' to run test suite, passing known failures via
- EXTRATESTOPTS env variable. (deprecates ./runtests.sh)
+ EXTRATESTOPTS env variable. (deprecates ./runtests.sh). Removes
+ Source6: runtests.sh
* Fri Jun 4 2010 David Malcolm <dmalcolm at redhat.com> - 2.6.5-5
- ensure that the compiler is invoked with "-fwrapv" (rhbz#594819)
More information about the scm-commits
mailing list