forked from pool/protobuf
Accepting request 1083461 from devel:tools:building
OBS-URL: https://build.opensuse.org/request/show/1083461 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/protobuf?expand=0&rev=72
This commit is contained in:
commit
cca1940c3f
3
protobuf-rpmlintrc
Normal file
3
protobuf-rpmlintrc
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
addFilter("shlib-policy-name-error")
|
||||||
|
addFilter("env-script-interpreter")
|
||||||
|
addFilter("spurious-executable-perm")
|
@ -1,3 +1,14 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Apr 28 07:07:50 UTC 2023 - Fridrich Strba <fstrba@suse.com>
|
||||||
|
|
||||||
|
- Mention the rpmlintrc file in the spec.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Apr 27 06:59:31 UTC 2023 - Fridrich Strba <fstrba@suse.com>
|
||||||
|
|
||||||
|
- Make possible to build on older systems, like SLE12 that miss
|
||||||
|
some of the used macros.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Mar 23 09:01:50 UTC 2023 - Martin Liška <mliska@suse.cz>
|
Thu Mar 23 09:01:50 UTC 2023 - Martin Liška <mliska@suse.cz>
|
||||||
|
|
||||||
|
@ -16,6 +16,7 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
|
%{!?make_build:%global make_build make %{?_smp_mflags}}
|
||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||||
%define sover 3_21_12
|
%define sover 3_21_12
|
||||||
%define tarname protobuf
|
%define tarname protobuf
|
||||||
@ -36,6 +37,7 @@ URL: https://github.com/protocolbuffers/protobuf
|
|||||||
Source0: https://github.com/protocolbuffers/protobuf/archive/v%{version}.tar.gz#/%{tarname}-%{version}.tar.gz
|
Source0: https://github.com/protocolbuffers/protobuf/archive/v%{version}.tar.gz#/%{tarname}-%{version}.tar.gz
|
||||||
Source1: manifest.txt.in
|
Source1: manifest.txt.in
|
||||||
Source2: baselibs.conf
|
Source2: baselibs.conf
|
||||||
|
Source1000: %{name}-rpmlintrc
|
||||||
Patch0: gcc12-disable-__constinit-with-c++-11.patch
|
Patch0: gcc12-disable-__constinit-with-c++-11.patch
|
||||||
# https://github.com/protocolbuffers/protobuf/pull/10355
|
# https://github.com/protocolbuffers/protobuf/pull/10355
|
||||||
Patch1: 10355.patch
|
Patch1: 10355.patch
|
||||||
@ -167,6 +169,9 @@ This package contains the Python bindings for Google Protocol Buffers.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -p1 -n %{tarname}-%{version}
|
%autosetup -p1 -n %{tarname}-%{version}
|
||||||
|
|
||||||
|
# The previous blank line is crucial for older system being able
|
||||||
|
# to use the autosetup macro
|
||||||
mkdir gmock
|
mkdir gmock
|
||||||
|
|
||||||
%if %{with python2} || %{with python3}
|
%if %{with python2} || %{with python3}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user