1
0

- Improve %files to be more restrictive.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-google-auth?expand=0&rev=33
This commit is contained in:
Matej Cepl 2022-04-09 19:20:55 +00:00 committed by Git OBS Bridge
parent 8f4c0c6c1f
commit 072b1352cf
2 changed files with 16 additions and 8 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Sat Apr 9 19:20:46 UTC 2022 - Matej Cepl <mcepl@suse.com>
- Improve %files to be more restrictive.
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Apr 8 13:30:25 UTC 2022 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com> Fri Apr 8 13:30:25 UTC 2022 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>

View File

@ -17,7 +17,6 @@
%define skip_python2 1 %define skip_python2 1
%{?!python_module:%define python_module() python-%{**} python3-%{**}} %{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-google-auth Name: python-google-auth
Version: 2.6.3 Version: 2.6.3
@ -27,24 +26,24 @@ License: Apache-2.0
URL: https://github.com/GoogleCloudPlatform/google-auth-library-python URL: https://github.com/GoogleCloudPlatform/google-auth-library-python
Source: https://files.pythonhosted.org/packages/source/g/google-auth/google-auth-%{version}.tar.gz Source: https://files.pythonhosted.org/packages/source/g/google-auth/google-auth-%{version}.tar.gz
Patch0: ga_python-executable-name.patch Patch0: ga_python-executable-name.patch
BuildRequires: %{python_module cachetools >= 2.0.0} BuildRequires: %{python_module Flask}
BuildRequires: %{python_module pyasn1-modules >= 0.2.1}
BuildRequires: %{python_module rsa >= 3.1.4}
BuildRequires: %{python_module setuptools >= 40.3.0}
BuildRequires: %{python_module six >= 1.9.0}
# START TESTING SECTION # START TESTING SECTION
BuildRequires: %{python_module aiohttp >= 3.6.2} BuildRequires: %{python_module aiohttp >= 3.6.2}
BuildRequires: %{python_module Flask} BuildRequires: %{python_module cachetools >= 2.0.0}
BuildRequires: %{python_module freezegun} BuildRequires: %{python_module freezegun}
BuildRequires: %{python_module mock} BuildRequires: %{python_module mock}
BuildRequires: %{python_module oauth2client-gce} BuildRequires: %{python_module oauth2client-gce}
BuildRequires: %{python_module oauth2client} BuildRequires: %{python_module oauth2client}
BuildRequires: %{python_module pyOpenSSL >= 20.0.0} BuildRequires: %{python_module pyOpenSSL >= 20.0.0}
BuildRequires: %{python_module pyasn1-modules >= 0.2.1}
BuildRequires: %{python_module pytest-localserver} BuildRequires: %{python_module pytest-localserver}
BuildRequires: %{python_module pytest} BuildRequires: %{python_module pytest}
BuildRequires: %{python_module pyu2f >= 0.1.5} BuildRequires: %{python_module pyu2f >= 0.1.5}
BuildRequires: %{python_module requests >= 2.20.0} BuildRequires: %{python_module requests >= 2.20.0}
BuildRequires: %{python_module responses} BuildRequires: %{python_module responses}
BuildRequires: %{python_module rsa >= 3.1.4}
BuildRequires: %{python_module setuptools >= 40.3.0}
BuildRequires: %{python_module six >= 1.9.0}
BuildRequires: %{python_module urllib3} BuildRequires: %{python_module urllib3}
# END TESTING SECTION # END TESTING SECTION
BuildRequires: fdupes BuildRequires: fdupes
@ -81,6 +80,10 @@ This library simplifies using Googles various server-to-server authentication
%files %{python_files} %files %{python_files}
%license LICENSE %license LICENSE
%doc README.rst %doc README.rst
%{python_sitelib}/* %dir %{python_sitelib}/google
%{python_sitelib}/google/auth
%{python_sitelib}/google/oauth2
%{python_sitelib}/google_auth-%{version}*-info
%{python_sitelib}/google_auth-%{version}*-nspkg.pth
%changelog %changelog