From 708987e9cc398ad4c16cd7ed71d1e527ffd9bc0e24cccf9f2cf6ba65c1d860b3 Mon Sep 17 00:00:00 2001 From: Martin Pluskal Date: Thu, 12 May 2022 07:09:41 +0000 Subject: [PATCH] Accepting request 976435 from Java:packages Allow building on SLE-12-SP5 OBS-URL: https://build.opensuse.org/request/show/976435 OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/protobuf?expand=0&rev=119 --- protobuf.changes | 6 ++++++ protobuf.spec | 3 ++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/protobuf.changes b/protobuf.changes index a4140b0..a0636c6 100644 --- a/protobuf.changes +++ b/protobuf.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed May 11 14:13:04 UTC 2022 - Fridrich Strba + +- Do not use %%autosetup, but %%setup and %%patch on other line + * Allows building on SLE-12-SP5 + ------------------------------------------------------------------- Thu May 5 10:54:05 UTC 2022 - Martin Liška diff --git a/protobuf.spec b/protobuf.spec index f6afbd9..17c21db 100644 --- a/protobuf.spec +++ b/protobuf.spec @@ -164,7 +164,8 @@ This package contains the Python bindings for Google Protocol Buffers. %endif %prep -%autosetup -p1 -n %{tarname}-%{version} +%setup -n %{tarname}-%{version} +%patch0 -p1 mkdir gmock %if %{with python2} || %{with python3}