Hello community,

here is the log from the commit of package grpc for openSUSE:Factory checked in 
at 2020-03-16 10:16:55
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/grpc (Old)
 and      /work/SRC/openSUSE:Factory/.grpc.new.3160 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "grpc"

Mon Mar 16 10:16:55 2020 rev:23 rq:784554 version:1.25.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/grpc/grpc.changes        2020-01-17 
16:08:12.108519937 +0100
+++ /work/SRC/openSUSE:Factory/.grpc.new.3160/grpc.changes      2020-03-16 
10:17:38.943570391 +0100
@@ -1,0 +2,5 @@
+Thu Mar 12 06:53:27 UTC 2020 - Tomáš Chvátal <[email protected]>
+
+- Add conditional to build without python2 if needed
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ grpc.spec ++++++
--- /var/tmp/diff_new_pack.6jdxZb/_old  2020-03-16 10:17:39.771570728 +0100
+++ /var/tmp/diff_new_pack.6jdxZb/_new  2020-03-16 10:17:39.783570733 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package grpc
 #
-# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -19,6 +19,7 @@
 %define lver 8
 %define lverp 1
 %define src_install_dir /usr/src/%name
+%bcond_without python2
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:           grpc
 Version:        1.25.0
@@ -96,7 +97,6 @@
 Summary:        Python language bindings for grpc, a HTTP/2 Remote Procedure 
Call implementation
 Group:          Development/Libraries/Python
 Requires:       libgrpc%lver = %version-%release
-Requires:       python = %python2_version
 
 %description -n python2-grpcio
 This subpackage contains the python2 bindings.
@@ -105,7 +105,6 @@
 Summary:        Python language bindings for grpc, a HTTP/2 Remote Procedure 
Call implementation
 Group:          Development/Libraries/Python
 Requires:       libgrpc%lver = %version-%release
-Requires:       python = %python3_version
 
 %description -n python3-grpcio
 This subpackage contains the python3 bindings.
@@ -179,8 +178,10 @@
 %files source
 %src_install_dir
 
+%if %{with python2}
 %files -n python2-grpcio
 %python2_sitearch/grpc*
+%endif
 
 %files -n python3-grpcio
 %python3_sitearch/grpc*


Reply via email to