Fix build when python3 is disabled.
This commit is contained in:
parent
22c779b7f9
commit
57959b2623
@ -10,7 +10,7 @@
|
|||||||
Name: google-api-python-client
|
Name: google-api-python-client
|
||||||
Summary: %{sum}
|
Summary: %{sum}
|
||||||
Version: 1.6.7
|
Version: 1.6.7
|
||||||
Release: 3%{?dist}
|
Release: 4%{?dist}
|
||||||
|
|
||||||
License: ASL 2.0
|
License: ASL 2.0
|
||||||
URL: http://github.com/google/%{name}/
|
URL: http://github.com/google/%{name}/
|
||||||
@ -108,14 +108,19 @@ done
|
|||||||
%{python2_sitelib}/googleapiclient
|
%{python2_sitelib}/googleapiclient
|
||||||
%{python2_sitelib}/google_api_python_client-%{version}-py?.?.egg-info
|
%{python2_sitelib}/google_api_python_client-%{version}-py?.?.egg-info
|
||||||
|
|
||||||
|
%if 0%{?with_python3}
|
||||||
%files -n python3-%{srcname}
|
%files -n python3-%{srcname}
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%doc CHANGELOG
|
%doc CHANGELOG
|
||||||
%{python3_sitelib}/apiclient
|
%{python3_sitelib}/apiclient
|
||||||
%{python3_sitelib}/googleapiclient
|
%{python3_sitelib}/googleapiclient
|
||||||
%{python3_sitelib}/google_api_python_client-%{version}-py?.?.egg-info
|
%{python3_sitelib}/google_api_python_client-%{version}-py?.?.egg-info
|
||||||
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Jul 20 2018 Alfredo Moralejo <amoralej@redhat.com> - 1.6.7-4
|
||||||
|
- Fix build when disabling python3.
|
||||||
|
|
||||||
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.7-3
|
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.7-3
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user