From 270fe1482d22e0243aa2e9e30525e7f95af7008d9eba0dcdc0f06294057aec11 Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Thu, 15 Aug 2024 07:57:22 +0000 Subject: [PATCH] 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 --- protobuf-c.changes | 5 +++++ protobuf-c.spec | 7 ++++--- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/protobuf-c.changes b/protobuf-c.changes index 9b3b126..f037c72 100644 --- a/protobuf-c.changes +++ b/protobuf-c.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Aug 12 21:14:32 UTC 2024 - Andreas Stieger + +- BuildRequire a C++ compiler, previously pulled in via protobuf + ------------------------------------------------------------------- Wed Dec 27 11:32:24 UTC 2023 - Dirk Müller diff --git a/protobuf-c.spec b/protobuf-c.spec index 64b23e8..628a46c 100644 --- a/protobuf-c.spec +++ b/protobuf-c.spec @@ -3,6 +3,7 @@ # # Copyright (c) 2023 SUSE LLC # Copyright (c) 2011 Pascal Bleser +# Copyright (c) 2024 Andreas Stieger # # All modifications and additions to the file contributed by third parties # 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 BuildRequires: autoconf BuildRequires: automake -BuildRequires: gcc +BuildRequires: c++_compiler BuildRequires: glibc-devel BuildRequires: libtool BuildRequires: make @@ -79,8 +80,7 @@ rm %buildroot/%_libdir/*.la %check make check -%post -n libprotobuf-c%sover -p /sbin/ldconfig -%postun -n libprotobuf-c%sover -p /sbin/ldconfig +%ldconfig_scriptlets -n libprotobuf-c%sover %files -n libprotobuf-c%sover %license LICENSE @@ -88,6 +88,7 @@ make check %_libdir/libprotobuf-c.so.%sover.* %files -n libprotobuf-c-devel +%license LICENSE %dir %_includedir/protobuf-c %dir %_includedir/google %dir %_includedir/google/protobuf-c