Fix BuildRequires/Requires to use python2-* for Fedora
This commit is contained in:
parent
4f256b6aa6
commit
732caeb878
@ -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 <nb@fedoraproject.org> - 1.6.3-1
|
||||
- Fix BuildRequires/Requires to use python2-* for Fedora
|
||||
|
||||
* Thu Aug 31 2017 Michele Baldessari <michele@acksyn.org> - 1.6.3-1
|
||||
- New upstream
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user