%global srcname grpcio-gcp %global _description %{summary}. Name: python-%{srcname} Version: 0.2.2 Release: 10%{?dist} Summary: gRPC for GCP extensions License: ASL 2.0 URL: https://github.com/GoogleCloudPlatform/grpc-gcp-python/ Source0: %{url}/archive/v%{version}/%{srcname}-%{version}.tar.gz BuildRequires: python3-devel BuildRequires: %{py3_dist setuptools} BuildArch: noarch %description %{_description} %package -n python3-%{srcname} Summary: %{summary} %{?python_provide:%python_provide python3-%{srcname}} %description -n python3-%{srcname} %{_description} %prep %autosetup -n grpc-gcp-python-%{version} # Remove bundled egg-info rm -rf *.egg-info %build pushd src/ ln -s ../template/version.py . %py3_build popd %install pushd src/ %py3_install popd %files -n python3-%{srcname} %doc src/{CHANGELOG.rst,README.md} %license src/LICENSE %{python3_sitelib}/grpc_gcp/ %{python3_sitelib}/grpcio_gcp-*.egg-info/ %changelog * Fri Jan 20 2023 Fedora Release Engineering - 0.2.2-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Fri Jul 22 2022 Fedora Release Engineering - 0.2.2-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Mon Jun 13 2022 Python Maint - 0.2.2-8 - Rebuilt for Python 3.11 * Fri Jan 21 2022 Fedora Release Engineering - 0.2.2-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Fri Jul 23 2021 Fedora Release Engineering - 0.2.2-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Fri Jun 04 2021 Python Maint - 0.2.2-5 - Rebuilt for Python 3.10 * Wed Jan 27 2021 Fedora Release Engineering - 0.2.2-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Wed Jul 29 2020 Fedora Release Engineering - 0.2.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Sun May 31 2020 Mohamed El Morabity - 0.2.2-2 - Rebuild for Python 3.9 * Fri May 29 2020 Mohamed El Morabity - 0.2.2-1 - Initial RPM release