From 82b193cf24533a5b8ccb34880205af3a666871a8 Mon Sep 17 00:00:00 2001 From: Garrett Holmstrom Date: Wed, 8 Apr 2015 18:51:13 -0700 Subject: [PATCH] Enable unit tests on Fedora https://bugzilla.redhat.com/show_bug.cgi?id=1072946 --- python-boto.spec | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/python-boto.spec b/python-boto.spec index 8a26597..4a6be0f 100644 --- a/python-boto.spec +++ b/python-boto.spec @@ -1,7 +1,9 @@ %if 0%{?fedora} %bcond_without python3 +%bcond_without unittests %else %bcond_with python3 +%bcond_with unittests %endif %if 0%{?fedora} >= 23 @@ -10,7 +12,6 @@ %bcond_without executables %endif -%bcond_with unittests %{!?__python2: %global __python2 /usr/bin/python2} %{!?python2_sitelib: %global python2_sitelib %(%{__python2} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")} @@ -180,6 +181,7 @@ rm -f $RPM_BUILD_ROOT/%{_bindir}/* - Updated to 2.37.0 (RH #1180861) - Dropped executables in F23 - Unbundled python-six (boto #3086) +- Enabled unit tests on Fedora (RH #1072946) * Sun Nov 9 2014 Garrett Holmstrom - 2.34.0-4 - Fixed python3 requires