public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-google-auth] epel10: Migrate to pyproject-rpm-macros (fix RHBZ#2377753)
@ 2026-07-29 22:46 Benjamin A. Beasley
0 siblings, 0 replies; only message in thread
From: Benjamin A. Beasley @ 2026-07-29 22:46 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/python-google-auth
Branch : epel10
Commit : d0ae0add506e58af4ae33d64a64b09457a8c57dd
Author : Benjamin A. Beasley <code@musicinmybrain.net>
Date : 2025-10-19T12:21:42+01:00
Stats : +36/-42 in 3 file(s)
URL : https://src.fedoraproject.org/rpms/python-google-auth/c/d0ae0add506e58af4ae33d64a64b09457a8c57dd?branch=epel10
Log:
Migrate to pyproject-rpm-macros (fix RHBZ#2377753)
---
diff --git a/.gitignore b/.gitignore
index 732bfa8..2e39e36 100644
--- a/.gitignore
+++ b/.gitignore
@@ -89,3 +89,4 @@
/v2.40.3.tar.gz
/v2.41.0.tar.gz
/v2.41.1.tar.gz
+/google-auth-library-python-2.41.1.tar.gz
diff --git a/python-google-auth.spec b/python-google-auth.spec
index 7a8d960..f0ea677 100644
--- a/python-google-auth.spec
+++ b/python-google-auth.spec
@@ -1,65 +1,58 @@
-%{?python_enable_dependency_generator}
+Name: python-google-auth
+Version: 2.41.1
+Release: 2%{?dist}
+Epoch: 1
+Summary: Google Authentication Library
-%global library google-auth
+License: Apache-2.0
+URL: https://github.com/googleapis/google-auth-library-python
+Source: %{url}/archive/v%{version}/google-auth-library-python-%{version}.tar.gz
-%if 0%{?rhel} == 7
-%global py3 python%{python3_pkgversion}
-%else
-%global py3 python3
-%endif
+BuildArch: noarch
-Name: python-%{library}
-Version: 2.41.1
-Release: 1%{?dist}
-Epoch: 1
-Summary: Google Auth Python Library
-License: Apache-2.0
-URL: https://github.com/googleapis/google-auth-library-python
+BuildRequires: python3-devel
-Source0: https://github.com/googleapis/google-auth-library-python/archive/v%{version}.tar.gz
+%global common_description %{expand:
+This library simplifies using Google’s various server-to-server authentication
+mechanisms to access Google APIs.}
-BuildArch: noarch
+%description %{common_description}
-%description
-Google Auth Python Library
-%package -n %{py3}-%{library}
-Summary: Google Auth Python Library
-%{?python_provide:%python_provide %{py3}-%{library}}
+%package -n python3-google-auth
+Summary: %{summary}
-BuildRequires: %{py3}-devel
-BuildRequires: %{py3}-setuptools
-BuildRequires: git
-%if %{undefined __pythondist_requires}
-Requires: %{py3}-pyasn1
-Requires: %{py3}-pyasn1-modules
-Requires: %{py3}-rsa
-Requires: %{py3}-six
-Requires: %{py3}-cachetools
-%endif
+%description -n python3-google-auth %{common_description}
-%description -n %{py3}-%{library}
-Python client for the kubernetes API.
%prep
%autosetup -n google-auth-library-python-%{version}
+
+%generate_buildrequires
+%pyproject_builrequires
+
+
%build
-%py3_build
+%pyproject_wheel
+
%install
-%py3_install
+%pyproject_install
+%pyproject_save_files -l google
+
%check
+%pyproject_check_import
+
+
+%files -n python3-google-auth -f %{pyproject_files}
-%files -n %{py3}-%{library}
-%license LICENSE
-%dir %{python3_sitelib}/google/
-%{python3_sitelib}/google/auth
-%{python3_sitelib}/google/oauth2
-%{python3_sitelib}/google_auth-%{version}*.egg-info
%changelog
+* Sun Oct 19 2025 Benjamin A. Beasley <code@musicinmybrain.net> - 1:2.41.1-2
+- Migrate to pyproject-rpm-macros (fix RHBZ#2377753)
+
* Wed Oct 01 2025 Fedora Release Monitoring <release-monitoring@fedoraproject.org> - 1:2.41.1-1
- Update to 2.41.1 (#2400572)
diff --git a/sources b/sources
index 84db496..ef80eb5 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (v2.41.1.tar.gz) = c75ec62c67d3d65942eb0e0ee640f95bd0fc9449f219ed83566d7ef8fec5807131d917d42c96984ac2a85cfddb60abd373dd913e22553b636c040a9da08d219c
+SHA512 (google-auth-library-python-2.41.1.tar.gz) = c75ec62c67d3d65942eb0e0ee640f95bd0fc9449f219ed83566d7ef8fec5807131d917d42c96984ac2a85cfddb60abd373dd913e22553b636c040a9da08d219c
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-07-29 22:46 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-29 22:46 [rpms/python-google-auth] epel10: Migrate to pyproject-rpm-macros (fix RHBZ#2377753) Benjamin A. Beasley
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox