1
0
forked from pool/protobuf-c

Accepting request 1193754 from devel:tools:building

BuildRequire a C++ compiler, previously pulled in via protobuf (forwarded request 1193529 from AndreasStieger)

OBS-URL: https://build.opensuse.org/request/show/1193754
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/protobuf-c?expand=0&rev=29
This commit is contained in:
Dominique Leuenberger 2024-08-15 07:57:22 +00:00 committed by Git OBS Bridge
parent 25e898249b
commit 270fe1482d
2 changed files with 9 additions and 3 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Aug 12 21:14:32 UTC 2024 - Andreas Stieger <andreas.stieger@gmx.de>
- BuildRequire a C++ compiler, previously pulled in via protobuf
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Dec 27 11:32:24 UTC 2023 - Dirk Müller <dmueller@suse.com> Wed Dec 27 11:32:24 UTC 2023 - Dirk Müller <dmueller@suse.com>

View File

@ -3,6 +3,7 @@
# #
# Copyright (c) 2023 SUSE LLC # Copyright (c) 2023 SUSE LLC
# Copyright (c) 2011 Pascal Bleser # Copyright (c) 2011 Pascal Bleser
# Copyright (c) 2024 Andreas Stieger <Andreas.Stieger@gmx.de>
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -28,7 +29,7 @@ URL: https://github.com/protobuf-c/protobuf-c
Source: https://github.com/protobuf-c/protobuf-c/releases/download/v%version/%name-%version.tar.gz Source: https://github.com/protobuf-c/protobuf-c/releases/download/v%version/%name-%version.tar.gz
BuildRequires: autoconf BuildRequires: autoconf
BuildRequires: automake BuildRequires: automake
BuildRequires: gcc BuildRequires: c++_compiler
BuildRequires: glibc-devel BuildRequires: glibc-devel
BuildRequires: libtool BuildRequires: libtool
BuildRequires: make BuildRequires: make
@ -79,8 +80,7 @@ rm %buildroot/%_libdir/*.la
%check %check
make check make check
%post -n libprotobuf-c%sover -p /sbin/ldconfig %ldconfig_scriptlets -n libprotobuf-c%sover
%postun -n libprotobuf-c%sover -p /sbin/ldconfig
%files -n libprotobuf-c%sover %files -n libprotobuf-c%sover
%license LICENSE %license LICENSE
@ -88,6 +88,7 @@ make check
%_libdir/libprotobuf-c.so.%sover.* %_libdir/libprotobuf-c.so.%sover.*
%files -n libprotobuf-c-devel %files -n libprotobuf-c-devel
%license LICENSE
%dir %_includedir/protobuf-c %dir %_includedir/protobuf-c
%dir %_includedir/google %dir %_includedir/google
%dir %_includedir/google/protobuf-c %dir %_includedir/google/protobuf-c