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}