diff --git a/.python-grpcio-gcp.metadata b/.python-grpcio-gcp.metadata new file mode 100644 index 0000000..c662167 --- /dev/null +++ b/.python-grpcio-gcp.metadata @@ -0,0 +1 @@ +e8be9b9d67283d2e4104ce422b64f09d76a079bc SOURCES/grpcio-gcp-0.2.2.tar.gz diff --git a/SOURCES/README.md b/SOURCES/README.md new file mode 100644 index 0000000..4c3a7c2 --- /dev/null +++ b/SOURCES/README.md @@ -0,0 +1,3 @@ +# python-grpcio-gcp + +The python-grpcio-gcp package \ No newline at end of file diff --git a/SPECS/python-grpcio-gcp.spec b/SPECS/python-grpcio-gcp.spec new file mode 100644 index 0000000..89d14e3 --- /dev/null +++ b/SPECS/python-grpcio-gcp.spec @@ -0,0 +1,67 @@ +%global srcname grpcio-gcp +%global _description %{summary}. + +Name: python-%{srcname} +Version: 0.2.2 +Release: 4%{?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 +* 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