Fix conditionals
This commit is contained in:
parent
a2b8de0c88
commit
640654fe6a
@ -10,7 +10,7 @@
|
|||||||
Name: google-api-python-client
|
Name: google-api-python-client
|
||||||
Summary: %{sum}
|
Summary: %{sum}
|
||||||
Version: 1.6.2
|
Version: 1.6.2
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
|
|
||||||
License: ASL 2.0
|
License: ASL 2.0
|
||||||
URL: http://github.com/google/%{name}/
|
URL: http://github.com/google/%{name}/
|
||||||
@ -30,12 +30,22 @@ BuildRequires: python2-setuptools
|
|||||||
BuildRequires: python-httplib2 >= 0.8
|
BuildRequires: python-httplib2 >= 0.8
|
||||||
BuildRequires: python-oauth2client >= 2.0.0
|
BuildRequires: python-oauth2client >= 2.0.0
|
||||||
BuildRequires: python2-uritemplate >= 3.0.0
|
BuildRequires: python2-uritemplate >= 3.0.0
|
||||||
|
|
||||||
|
%if 0%{?fedora}
|
||||||
|
BuildRequires: python2-six >= 1.6.1
|
||||||
|
%else
|
||||||
BuildRequires: python-six >= 1.6.1
|
BuildRequires: python-six >= 1.6.1
|
||||||
|
%endif
|
||||||
|
|
||||||
Requires: python-httplib2 >= 0.9.2
|
Requires: python-httplib2 >= 0.9.2
|
||||||
Requires: python2-oauth2client >= 2.0.0
|
Requires: python2-oauth2client >= 2.0.0
|
||||||
Requires: python2-uritemplate >= 3.0.0
|
Requires: python2-uritemplate >= 3.0.0
|
||||||
|
|
||||||
|
%if 0%{?fedora}
|
||||||
Requires: python2-six >= 1.6.1
|
Requires: python2-six >= 1.6.1
|
||||||
|
%else
|
||||||
|
Requires: python-six >= 1.6.1
|
||||||
|
%endif
|
||||||
|
|
||||||
%description -n python2-%{srcname}
|
%description -n python2-%{srcname}
|
||||||
Written by Google, this library provides a small, flexible, and powerful
|
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
|
%{python3_sitelib}/google_api_python_client-%{version}-py?.?.egg-info
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Aug 4 2017 Nick Bebout <nb@fedoraproject.org> - 1.6.2-2
|
||||||
|
- Fix conditionals for epel
|
||||||
|
|
||||||
* Tue Aug 1 2017 Nick Bebout <nb@fedoraproject.org> - 1.6.2-1
|
* Tue Aug 1 2017 Nick Bebout <nb@fedoraproject.org> - 1.6.2-1
|
||||||
- Update to 1.6.2
|
- Update to 1.6.2
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user