Dirk Mueller 2023-06-12 20:26:09 +00:00 committed by Git OBS Bridge
parent e2a33dcfa0
commit 6abe767c86

View File

@ -131,10 +131,9 @@ This package contains source code for Protocol Buffers.
%if 0%{?python_subpackage_only}
%package -n python-%{name}
Version: %{pversion}
Summary: Python Bindings for Google Protocol Buffers
Group: Development/Libraries/Python
Version: %pversion
Requires: python-six >= 1.9
%description -n python-%{name}
This package contains the Python bindings for Google Protocol Buffers.
@ -142,10 +141,9 @@ This package contains the Python bindings for Google Protocol Buffers.
%else
%package -n python3-%{name}
Version: %{pversion}
Summary: Python3 Bindings for Google Protocol Buffers
Group: Development/Libraries/Python
Requires: python3-six >= 1.9
Version: %pversion
%description -n python3-%{name}
This package contains the Python bindings for Google Protocol Buffers.
@ -160,7 +158,7 @@ Requires: java >= 1.6.0
This package contains the Java bindings for Google Protocol Buffers.
%prep
%autosetup -p1 -n %{tarname}-%{VERSION}
%autosetup -p1 -n %{tarname}-%{gversion}
# The previous blank line is crucial for older system being able
# to use the autosetup macro