From 57959b2623894aad8433007ae64102160eef4cda Mon Sep 17 00:00:00 2001 From: Alfredo Moralejo Date: Fri, 20 Jul 2018 16:40:11 +0200 Subject: [PATCH] Fix build when python3 is disabled. --- google-api-python-client.spec | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/google-api-python-client.spec b/google-api-python-client.spec index 23c8b87..4200d75 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.7 -Release: 3%{?dist} +Release: 4%{?dist} License: ASL 2.0 URL: http://github.com/google/%{name}/ @@ -108,14 +108,19 @@ done %{python2_sitelib}/googleapiclient %{python2_sitelib}/google_api_python_client-%{version}-py?.?.egg-info +%if 0%{?with_python3} %files -n python3-%{srcname} %license LICENSE %doc CHANGELOG %{python3_sitelib}/apiclient %{python3_sitelib}/googleapiclient %{python3_sitelib}/google_api_python_client-%{version}-py?.?.egg-info +%endif %changelog +* Fri Jul 20 2018 Alfredo Moralejo - 1.6.7-4 +- Fix build when disabling python3. + * Fri Jul 13 2018 Fedora Release Engineering - 1.6.7-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild