upstream/openstack/python-oslo-messaging/centos/meta_patches/0004-disable-check-on-build...

31 lines
919 B
Diff

From a31e3b402f19767e1390edf17400e38f6592c829 Mon Sep 17 00:00:00 2001
From: jmckenna <jason.mckenna@windriver.com>
Date: Thu, 7 Dec 2017 09:12:43 -0500
Subject: [PATCH] Disable check on build
---
SPECS/python-oslo-messaging.spec | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/SPECS/python-oslo-messaging.spec b/SPECS/python-oslo-messaging.spec
index 627a1be..648718a 100644
--- a/SPECS/python-oslo-messaging.spec
+++ b/SPECS/python-oslo-messaging.spec
@@ -281,11 +281,11 @@ rm -fr doc/build/html/.buildinfo
%check
# Temporarily disabling tests until we have
# mock >= 1.2 and pika_pool
-%{__python2} setup.py test ||
-%if 0%{?with_python3}
-rm -rf .testrepository
-%{__python3} setup.py test ||
-%endif
+# %{__python2} setup.py test ||
+# %if 0%{?with_python3}
+# rm -rf .testrepository
+# %{__python3} setup.py test ||
+# %endif
%files -n python2-%{pkg_name}
%license LICENSE