From 5e85037bf4ac8bcafcb0aaa581923ece87b023ade35d99a66363d53099235233 Mon Sep 17 00:00:00 2001 From: Sascha Peilicke Date: Fri, 8 Mar 2013 08:59:51 +0000 Subject: [PATCH] Accepting request 157500 from home:k0da:ppc - increase file-descriptor-count for ppc to make tests happy OBS-URL: https://build.opensuse.org/request/show/157500 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PyYAML?expand=0&rev=7 --- python-PyYAML.changes | 5 +++++ python-PyYAML.spec | 4 ++++ 2 files changed, 9 insertions(+) diff --git a/python-PyYAML.changes b/python-PyYAML.changes index 8e52e18..8e3b299 100644 --- a/python-PyYAML.changes +++ b/python-PyYAML.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Mar 5 23:39:24 UTC 2013 - dvaleev@suse.com + +- increase file-descriptor-count for ppc to make tests happy + ------------------------------------------------------------------- Thu Jan 10 19:06:25 UTC 2013 - p.drouand@gmail.com diff --git a/python-PyYAML.spec b/python-PyYAML.spec index 1160208..5faec91 100644 --- a/python-PyYAML.spec +++ b/python-PyYAML.spec @@ -58,6 +58,10 @@ find examples -type f | xargs chmod -x # Fix example permissions python setup.py install --prefix=%{_prefix} --root=%{buildroot} %check +#increase file-descriptor-count for ppc to make tests happy +%ifarch ppc ppc64 +ulimit -Sn 2048 +%endif python setup.py test %files