From 73894c65e02cad630e349ff1c52cadb1da419249 Mon Sep 17 00:00:00 2001 From: DongHun Kwak Date: Wed, 19 Feb 2025 12:22:22 +0900 Subject: [PATCH] Bump to python3-grpcio 1.70.0 Change-Id: I2db656edbbf9761b238466538339851daa497ae9 --- packaging/python3-grpcio.manifest | 5 +++ packaging/python3-grpcio.spec | 66 +++++++++++++++++++++++++++++++ 2 files changed, 71 insertions(+) create mode 100644 packaging/python3-grpcio.manifest create mode 100644 packaging/python3-grpcio.spec diff --git a/packaging/python3-grpcio.manifest b/packaging/python3-grpcio.manifest new file mode 100644 index 00000000..86dbb267 --- /dev/null +++ b/packaging/python3-grpcio.manifest @@ -0,0 +1,5 @@ + + + + + diff --git a/packaging/python3-grpcio.spec b/packaging/python3-grpcio.spec new file mode 100644 index 00000000..a6e1d27e --- /dev/null +++ b/packaging/python3-grpcio.spec @@ -0,0 +1,66 @@ +Name: python3-grpcio +Summary: HTTP/2-based Remote Procedure Call implementation +Version: 1.70.0 +Release: 0 + +# ========================================================== +License: Apache-2.0 +# ========================================================== + +Group: Development/Languages/Python +Source0: %{name}-%{version}.tar.gz +Source1001: %{name}.manifest + +# ========================================================== +# BuildRequires +# specifies build-time dependencies for the package +# ========================================================== +BuildRequires: pkgconfig(python3) +BuildRequires: python3-setuptools +BuildRequires: python3-protobuf +BuildRequires: python3-six + +Requires: python3-protobuf + +%description +gRPC is a remote procedure call (RPC) framework. gRPC enables client +and server applications to communicate, and enables the building of +connected systems. + + +%prep +%setup -q +cp %{SOURCE1001} . + +# ========================================================== +# build section +# how to actually build the software we are packaging +# ========================================================== +%build +%{_bindir}/python3 setup.py build + + +# ========================================================== +# install section +# how to actually build the software we are packaging +# ========================================================== +%install +%{_bindir}/python3 setup.py install --prefix=%{_prefix} --root=%{buildroot} + +%clean + +%post -p /sbin/ldconfig + +%postun -p /sbin/ldconfig + +# ========================================================== +# files section +# The list of files that will be installed in the end +# user’s system. +# ========================================================== +%files +%manifest %{name}.manifest +%license LICENSE +%{python3_sitearch}/grpc/* +%{python3_sitearch}/grpcio-%{version}-py%{python3_version}.egg-info/* + -- 2.34.1