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
This commit is contained in:
Martin Pluskal 2022-05-12 07:09:41 +00:00 committed by Git OBS Bridge
parent 7935975c4f
commit 708987e9cc
2 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed May 11 14:13:04 UTC 2022 - Fridrich Strba <fstrba@suse.com>
- 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 <mliska@suse.cz>

View File

@ -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}