Subpackage python2-google-api-client has been removed
This commit is contained in:
parent
39c349de1b
commit
b21820280b
@ -3,15 +3,11 @@
|
|||||||
%global sum Google APIs Client Library for Python
|
%global sum Google APIs Client Library for Python
|
||||||
%global srcname google-api-client
|
%global srcname google-api-client
|
||||||
|
|
||||||
%if 0%{?fedora}
|
|
||||||
%global with_python3 1
|
|
||||||
%endif
|
|
||||||
|
|
||||||
Name: google-api-python-client
|
Name: google-api-python-client
|
||||||
Summary: %{sum}
|
Summary: %{sum}
|
||||||
Epoch: 1
|
Epoch: 1
|
||||||
Version: 1.6.7
|
Version: 1.6.7
|
||||||
Release: 7%{?dist}
|
Release: 8%{?dist}
|
||||||
|
|
||||||
License: ASL 2.0
|
License: ASL 2.0
|
||||||
URL: http://github.com/google/%{name}/
|
URL: http://github.com/google/%{name}/
|
||||||
@ -22,40 +18,6 @@ BuildArch: noarch
|
|||||||
Written by Google, this library provides a small, flexible, and powerful
|
Written by Google, this library provides a small, flexible, and powerful
|
||||||
Python client library for accessing Google APIs.
|
Python client library for accessing Google APIs.
|
||||||
|
|
||||||
%package -n python2-%{srcname}
|
|
||||||
Summary: %{sum}
|
|
||||||
%{?python_provide:%python_provide python2-%{srcname}}
|
|
||||||
|
|
||||||
BuildRequires: python2-devel >= 2.7
|
|
||||||
BuildRequires: python2-setuptools
|
|
||||||
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: 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}
|
|
||||||
Written by Google, this library provides a small, flexible, and powerful
|
|
||||||
Python client library for accessing Google APIs.
|
|
||||||
|
|
||||||
|
|
||||||
%if 0%{?with_python3}
|
|
||||||
%package -n python3-%{srcname}
|
%package -n python3-%{srcname}
|
||||||
Summary: %{sum}
|
Summary: %{sum}
|
||||||
%{?python_provide:%python_provide python3-%{srcname}}
|
%{?python_provide:%python_provide python3-%{srcname}}
|
||||||
@ -75,7 +37,6 @@ Requires: python3-six >= 1.6.1
|
|||||||
%description -n python3-%{srcname}
|
%description -n python3-%{srcname}
|
||||||
Written by Google, this library provides a small, flexible, and powerful
|
Written by Google, this library provides a small, flexible, and powerful
|
||||||
Python 3 client library for accessing Google APIs.
|
Python 3 client library for accessing Google APIs.
|
||||||
%endif
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
@ -91,34 +52,23 @@ for lib in googleapiclient/*.py; do
|
|||||||
done
|
done
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%{py2_build}
|
|
||||||
%if 0%{?with_python3}
|
|
||||||
%{py3_build}
|
%{py3_build}
|
||||||
%endif
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%{py2_install}
|
|
||||||
%if 0%{?with_python3}
|
|
||||||
%{py3_install}
|
%{py3_install}
|
||||||
%endif
|
|
||||||
|
|
||||||
%files -n python2-%{srcname}
|
|
||||||
%license LICENSE
|
|
||||||
%doc CHANGELOG
|
|
||||||
%{python2_sitelib}/apiclient
|
|
||||||
%{python2_sitelib}/googleapiclient
|
|
||||||
%{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%{python3_version}.egg-info/
|
||||||
%endif
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Jul 31 2019 Miro Hrončok <mhroncok@redhat.com> - 1:1.6.7-8
|
||||||
|
- Subpackage python2-google-api-client has been removed
|
||||||
|
See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal
|
||||||
|
|
||||||
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.6.7-7
|
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.6.7-7
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user