From 732caeb878ef2fc87db0a2f1b7bc8f4749214842 Mon Sep 17 00:00:00 2001 From: Nick Bebout Date: Sun, 10 Sep 2017 20:35:28 -0500 Subject: [PATCH] Fix BuildRequires/Requires to use python2-* for Fedora --- google-api-python-client.spec | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/google-api-python-client.spec b/google-api-python-client.spec index 760deba..65fe156 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.3 -Release: 1%{?dist} +Release: 2%{?dist} License: ASL 2.0 URL: http://github.com/google/%{name}/ @@ -27,24 +27,26 @@ Summary: %{sum} BuildRequires: python2-devel >= 2.7 BuildRequires: python2-setuptools -BuildRequires: python-httplib2 >= 0.8 -BuildRequires: python-oauth2client >= 2.0.0 +BuildRequires: python2-oauth2client >= 2.0.0 BuildRequires: python2-uritemplate >= 3.0.0 %if 0%{?fedora} +BuildRequires: python2-httplib2 >= 0.9.2 BuildRequires: python2-six >= 1.6.1 %else +BuildRequires: python-httplib2 >= 0.9.2 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 +Requires: python2-httplib2 >= 0.9.2 %else Requires: python-six >= 1.6.1 +Requires: python-httplib2 >= 0.9.2 %endif %description -n python2-%{srcname} @@ -114,6 +116,9 @@ done %{python3_sitelib}/google_api_python_client-%{version}-py?.?.egg-info %changelog +* Sun Sep 10 2017 Nick Bebout - 1.6.3-1 +- Fix BuildRequires/Requires to use python2-* for Fedora + * Thu Aug 31 2017 Michele Baldessari - 1.6.3-1 - New upstream