From 640654fe6a71ab41e1022db7f8bb9a2c31a77089 Mon Sep 17 00:00:00 2001 From: Nick Bebout Date: Fri, 4 Aug 2017 09:58:41 -0500 Subject: [PATCH] Fix conditionals --- google-api-python-client.spec | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/google-api-python-client.spec b/google-api-python-client.spec index 06eebc5..097d098 100644 --- a/google-api-python-client.spec +++ b/google-api-python-client.spec @@ -10,7 +10,7 @@ Name: google-api-python-client Summary: %{sum} Version: 1.6.2 -Release: 1%{?dist} +Release: 2%{?dist} License: ASL 2.0 URL: http://github.com/google/%{name}/ @@ -30,12 +30,22 @@ BuildRequires: python2-setuptools BuildRequires: python-httplib2 >= 0.8 BuildRequires: python-oauth2client >= 2.0.0 BuildRequires: python2-uritemplate >= 3.0.0 + +%if 0%{?fedora} +BuildRequires: python2-six >= 1.6.1 +%else BuildRequires: python-six >= 1.6.1 +%endif Requires: python-httplib2 >= 0.9.2 Requires: python2-oauth2client >= 2.0.0 Requires: python2-uritemplate >= 3.0.0 + +%if 0%{?fedora} Requires: python2-six >= 1.6.1 +%else +Requires: python-six >= 1.6.1 +%endif %description -n python2-%{srcname} Written by Google, this library provides a small, flexible, and powerful @@ -104,6 +114,9 @@ done %{python3_sitelib}/google_api_python_client-%{version}-py?.?.egg-info %changelog +* Fri Aug 4 2017 Nick Bebout - 1.6.2-2 +- Fix conditionals for epel + * Tue Aug 1 2017 Nick Bebout - 1.6.2-1 - Update to 1.6.2