|
|
169488 |
%global srcname oauth2client
|
|
|
169488 |
%global sum Python client library for OAuth 2.0
|
|
|
169488 |
# Share doc between python- and python3-
|
|
|
169488 |
%global _docdir_fmt %{name}
|
|
|
169488 |
|
|
|
169488 |
Name: python-%{srcname}
|
|
|
fd2d5c |
Version: 4.1.3
|
|
|
fd2d5c |
Release: 13%{?dist}
|
|
|
169488 |
Summary: %{sum}
|
|
|
169488 |
|
|
|
169488 |
License: ASL 2.0
|
|
|
169488 |
URL: https://github.com/google/%{srcname}
|
|
|
169488 |
Source0: https://github.com/google/%{srcname}/archive/v%{version}.tar.gz#/%{srcname}-%{version}.tar.gz
|
|
|
169488 |
Patch0: docs-build-fix.patch
|
|
|
fd2d5c |
Patch1: doc-fix.patch
|
|
|
fd2d5c |
Patch2: keyring-remove.patch
|
|
|
169488 |
|
|
|
169488 |
BuildArch: noarch
|
|
|
fd2d5c |
#BuildRequires: %{_bindir}/tox
|
|
|
fd2d5c |
BuildRequires: python3-devel
|
|
|
169488 |
|
|
|
169488 |
BuildRequires: python3-setuptools
|
|
|
169488 |
BuildRequires: python3-devel
|
|
|
fd2d5c |
BuildRequires: python3-fasteners
|
|
|
fd2d5c |
BuildRequires: python3-mock
|
|
|
fd2d5c |
BuildRequires: python3-pyasn1 >= 0.1.7
|
|
|
fd2d5c |
BuildRequires: python3-pyasn1-modules >= 0.0.5
|
|
|
fd2d5c |
BuildRequires: python3-pytest
|
|
|
169488 |
|
|
|
169488 |
%description
|
|
|
169488 |
This is a python client module for accessing resources protected by OAuth 2.0
|
|
|
169488 |
|
|
|
169488 |
%package -n python3-%{srcname}
|
|
|
169488 |
Summary: %{sum}
|
|
|
169488 |
%{?python_provide:%python_provide python3-%{srcname}}
|
|
|
169488 |
|
|
|
169488 |
Requires: python3-pyOpenSSL
|
|
|
169488 |
Requires: python3-fasteners
|
|
|
169488 |
|
|
|
169488 |
%description -n python3-%{srcname}
|
|
|
169488 |
This is a python client module for accessing resources protected by OAuth 2.0
|
|
|
169488 |
|
|
|
169488 |
%prep
|
|
|
169488 |
%setup -q -n %{srcname}-%{version}
|
|
|
169488 |
%patch0 -p1 -b .doc
|
|
|
fd2d5c |
%patch1 -p1 -b .doc2
|
|
|
fd2d5c |
%patch2 -p1 -b .keyring
|
|
|
169488 |
|
|
|
169488 |
# Remove the version constraint on httplib2. From reading upstream's git log,
|
|
|
169488 |
# it seems the only reason they require a new version is to force python3
|
|
|
169488 |
# support. That doesn't affect us on EPEL7, so we can loosen the constraint.
|
|
|
169488 |
sed -i 's/httplib2>=0.9.1/httplib2/' setup.py
|
|
|
169488 |
|
|
|
169488 |
# We do not have the package for google.appengine support
|
|
|
169488 |
# This is removed because it breaks the docs build otherwise
|
|
|
169488 |
rm -f docs/source/oauth2client.contrib.appengine.rst oauth2client/appengine.py
|
|
|
169488 |
|
|
|
fd2d5c |
# Remove keyring support
|
|
|
fd2d5c |
rm oauth2client/contrib/keyring_storage.py tests/contrib/test_keyring_storage.py docs/source/oauth2client.contrib.keyring_storage.rst
|
|
|
169488 |
|
|
|
169488 |
%build
|
|
|
169488 |
%py3_build
|
|
|
169488 |
|
|
|
169488 |
%install
|
|
|
169488 |
%py3_install
|
|
|
169488 |
|
|
|
169488 |
%check
|
|
|
fd2d5c |
#tox -v --sitepackages -e py%%{python3_version_nodots}
|
|
|
169488 |
|
|
|
169488 |
# We remove tests currently, we will ship them eventually
|
|
|
169488 |
# This is a bit of a hack until I package the test scripts in a separate package
|
|
|
169488 |
rm -r $(find %{_buildrootdir} -type d -name 'tests') || /bin/true
|
|
|
169488 |
|
|
|
169488 |
|
|
|
169488 |
%files -n python3-%{srcname}
|
|
|
169488 |
%license LICENSE
|
|
|
169488 |
%doc CHANGELOG.md CONTRIBUTING.md README.md
|
|
|
169488 |
%{python3_sitelib}/%{srcname}
|
|
|
169488 |
%{python3_sitelib}/%{srcname}*.egg-info
|
|
|
169488 |
|
|
|
169488 |
%changelog
|
|
|
fd2d5c |
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 4.1.3-13
|
|
|
fd2d5c |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
fd2d5c |
|
|
|
fd2d5c |
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 4.1.3-12
|
|
|
fd2d5c |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
fd2d5c |
|
|
|
fd2d5c |
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 4.1.3-11
|
|
|
fd2d5c |
- Rebuilt for Python 3.9
|
|
|
fd2d5c |
|
|
|
fd2d5c |
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 4.1.3-10
|
|
|
fd2d5c |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
fd2d5c |
|
|
|
fd2d5c |
* Wed Jan 15 2020 Gwyn Ciesla <gwync@protonmail.com> - 4.1.3-9
|
|
|
fd2d5c |
- Don't BR tox if we don't run tests.
|
|
|
fd2d5c |
|
|
|
fd2d5c |
* Sat Oct 26 2019 Orion Poplawski <orion@nwra.com> - 4.1.3-8
|
|
|
fd2d5c |
- Drop py3dir
|
|
|
fd2d5c |
- Drop obsolete dependency on python-gflags
|
|
|
fd2d5c |
|
|
|
fd2d5c |
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 4.1.3-7
|
|
|
fd2d5c |
- Rebuilt for Python 3.8.0rc1 (#1748018)
|
|
|
fd2d5c |
|
|
|
fd2d5c |
* Sat Aug 24 2019 Gwyn Ciesla <gwync@protonmail.com> - 4.1.3-6
|
|
|
fd2d5c |
- Drop Python 2.
|
|
|
fd2d5c |
|
|
|
fd2d5c |
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 4.1.3-5
|
|
|
fd2d5c |
- Rebuilt for Python 3.8
|
|
|
fd2d5c |
|
|
|
fd2d5c |
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 4.1.3-4
|
|
|
fd2d5c |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
fd2d5c |
|
|
|
fd2d5c |
* Tue Apr 30 2019 Miro Hrončok <mhroncok@redhat.com> - 4.1.3-3
|
|
|
fd2d5c |
- Don't ship docs, use python2 names to declare Python 2 dependencies
|
|
|
fd2d5c |
|
|
|
fd2d5c |
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 4.1.3-2
|
|
|
fd2d5c |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
fd2d5c |
|
|
|
fd2d5c |
* Mon Jan 21 2019 Michele Baldessari <michele@acksyn.org> - 4.1.3-1
|
|
|
fd2d5c |
- New upstream
|
|
|
fd2d5c |
- Disable keyring requires as python-keyring is gone
|
|
|
fd2d5c |
|
|
|
fd2d5c |
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 4.1.2-7
|
|
|
fd2d5c |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
fd2d5c |
|
|
|
fd2d5c |
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 4.1.2-6
|
|
|
fd2d5c |
- Rebuilt for Python 3.7
|
|
|
169488 |
|
|
|
fd2d5c |
* Tue May 08 2018 Miro Hrončok <mhroncok@redhat.com> - 4.1.2-5
|
|
|
fd2d5c |
- Fix BuildRequires to require the tox command and not the python2 module
|
|
|
169488 |
|
|
|
169488 |
* Wed Mar 21 2018 Michele Baldessari <michele@acksyn.org> - 4.1.2-4
|
|
|
169488 |
- Fix FTBFS due to missing python-django (rhbz#1556223)
|
|
|
169488 |
- Set right version in the docs
|
|
|
169488 |
|
|
|
169488 |
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 4.1.2-3
|
|
|
169488 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
169488 |
|
|
|
169488 |
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 4.1.2-2
|
|
|
169488 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
169488 |
|
|
|
169488 |
* Mon Jul 10 2017 Michele Baldessari <michele@acksyn.org> - 4.1.2-1
|
|
|
169488 |
- New upstream
|
|
|
169488 |
|
|
|
169488 |
* Sat May 13 2017 Michele Baldessari <michele@acksyn.org> - 4.1.0-1
|
|
|
169488 |
- New upstream
|
|
|
169488 |
|
|
|
169488 |
* Thu Mar 30 2017 Ralph Bean <rbean@redhat.com> - 4.0.0-2
|
|
|
169488 |
- Compat for EPEL7.
|
|
|
169488 |
|
|
|
169488 |
* Wed Mar 29 2017 Ralph Bean <rbean@redhat.com> - 4.0.0-1
|
|
|
169488 |
- new version
|
|
|
169488 |
|
|
|
169488 |
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.0-4
|
|
|
169488 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
169488 |
|
|
|
169488 |
* Tue Dec 27 2016 Michele Baldessari <michele@acksyn.org> - 3.0.0-3
|
|
|
169488 |
- Fix python 3.6 breakage
|
|
|
169488 |
|
|
|
169488 |
* Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 3.0.0-2
|
|
|
169488 |
- Rebuild for Python 3.6
|
|
|
169488 |
|
|
|
169488 |
* Thu Nov 10 2016 Michele Baldessari <michele@acksyn.org> - 3.0.0-1
|
|
|
169488 |
- New upstream
|
|
|
169488 |
|
|
|
169488 |
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1.0-2
|
|
|
169488 |
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
|
|
|
169488 |
|
|
|
169488 |
* Sun May 22 2016 Michele Baldessari <michele@acksyn.org> - 2.1.0-1
|
|
|
169488 |
- New upstream
|
|
|
169488 |
* Tue Mar 08 2016 Michele Baldessari <michele@acksyn.org> - 2.0.1-1
|
|
|
169488 |
- New upstream (NB: for now I am not shipping the tests, to be revised later)
|
|
|
169488 |
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.2-3
|
|
|
169488 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
169488 |
* Thu Nov 26 2015 Michele Baldessari <michele@acksyn.org> - 1.5.2-2
|
|
|
169488 |
- Remove dependency on sphinx-contrib-napoleon now that sphinx is at version >= 1.3
|
|
|
169488 |
- Tighten versioned dependencies
|
|
|
169488 |
- Update to latest python policy
|
|
|
169488 |
* Thu Nov 19 2015 Michele Baldessari <michele@acksyn.org> - 1.5.2-1
|
|
|
169488 |
- New upstream (BZ 1283443)
|
|
|
169488 |
* Tue Nov 10 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5.1-3
|
|
|
169488 |
- Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5
|
|
|
169488 |
* Tue Oct 13 2015 Michele Baldessari <michele@acksyn.org> - 1.5.1-2
|
|
|
169488 |
- Add versioned requires as per setup.py
|
|
|
169488 |
* Thu Sep 17 2015 Michele Baldessari <michele@acksyn.org> - 1.5.1-1
|
|
|
169488 |
- New upstream (BZ#1263881)
|
|
|
169488 |
* Fri Sep 04 2015 Michele Baldessari <michele@acksyn.org> - 1.5.0-1
|
|
|
169488 |
- New upstream (BZ#1259966)
|
|
|
169488 |
* Sun Jul 12 2015 Michele Baldessari <michele@acksyn.org> - 1.4.12-1
|
|
|
169488 |
- New upstream (BZ#1241304)
|
|
|
169488 |
* Mon Jun 22 2015 Michele Baldessari <michele@acksyn.org> - 1.4.11-2
|
|
|
169488 |
- Use -O1 for python3 as well
|
|
|
169488 |
- Use python2 macros
|
|
|
169488 |
- Remove the extra fonts from the -doc package
|
|
|
169488 |
* Thu Jun 04 2015 Michele Baldessari <michele@acksyn.org> - 1.4.11-1
|
|
|
169488 |
- Initial packaging
|