From f40ae3141155bf8b2a4f8f798ef504733855b5eb Mon Sep 17 00:00:00 2001 From: Fabio Alessandro Locati Date: Thu, 4 Aug 2016 09:44:58 +0200 Subject: [PATCH] Fix for F23 --- python-botocore.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/python-botocore.spec b/python-botocore.spec index e84d6cf..9b5e0df 100644 --- a/python-botocore.spec +++ b/python-botocore.spec @@ -18,7 +18,6 @@ # python-tox 2.3.1 not available on RHEL7 and F22 %{?el7: %global with_tests 0} -%{?fc22: %global with_tests 0} # Tests fails on F24 and F25 due to some path problem %{?fc24: %global with_tests 0} %{?fc25: %global with_tests 0} @@ -41,7 +40,8 @@ BuildRequires: python-sphinx BuildRequires: python-guzzle_sphinx_theme %endif # with_docs %if 0%{?with_tests} -BuildRequires: python2-mock +%{?fc23: BuildRequires: mock} +%{!?fc23: BuildRequires: python2-mock} BuildRequires: python-tox BuildRequires: python-behave BuildRequires: python-nose