From d5951467e048cde27c8aa7e9b4456306ff8982bce0104b9616c3858522a2fa4e Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Fri, 19 Nov 2021 18:23:32 +0000 Subject: [PATCH] Accepting request 932581 from home:iznogood:branches:server:monitoring - Fold main package into devel package, as it needed its own devel-package, add a protobuf-c = version Provides to devel sub-package. OBS-URL: https://build.opensuse.org/request/show/932581 OBS-URL: https://build.opensuse.org/package/show/server:monitoring/protobuf-c?expand=0&rev=32 --- protobuf-c.changes | 7 +++++++ protobuf-c.spec | 10 ++++------ 2 files changed, 11 insertions(+), 6 deletions(-) diff --git a/protobuf-c.changes b/protobuf-c.changes index 285fc0c..f70cb3d 100644 --- a/protobuf-c.changes +++ b/protobuf-c.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Fri Nov 19 17:38:59 UTC 2021 - Bjørn Lie + +- Fold main package into devel package, as it needed its own + devel-package, add a protobuf-c = version Provides to devel + sub-package. + ------------------------------------------------------------------- Wed May 19 07:24:48 UTC 2021 - Jan Engelhardt diff --git a/protobuf-c.spec b/protobuf-c.spec index c30c614..2efea98 100644 --- a/protobuf-c.spec +++ b/protobuf-c.spec @@ -35,7 +35,6 @@ BuildRequires: libtool BuildRequires: make BuildRequires: pkgconfig BuildRequires: protobuf-devel >= 2.6.0 -Requires: libprotobuf-c-devel = %version %description This package provides a code generator and runtime libraries to use Protocol @@ -55,6 +54,7 @@ Buffers from pure C (not C++). Summary: C bindings for Google's Protocol Buffers Group: Development/Libraries/C and C++ Requires: libprotobuf-c%sover = %version +Provides: %{name} = %version %description -n libprotobuf-c-devel This package provides a code generator and runtime libraries to use Protocol @@ -76,17 +76,15 @@ rm "%buildroot/%_libdir"/*.a "%buildroot/%_libdir"/*.la %post -n libprotobuf-c%sover -p /sbin/ldconfig %postun -n libprotobuf-c%sover -p /sbin/ldconfig -%files -%doc ChangeLog TODO -%_bindir/protoc-c -%_bindir/protoc-gen-c - %files -n libprotobuf-c%sover %license LICENSE %_libdir/libprotobuf-c.so.%sover %_libdir/libprotobuf-c.so.%sover.* %files -n libprotobuf-c-devel +%doc ChangeLog TODO +%_bindir/protoc-c +%_bindir/protoc-gen-c %_includedir/*/ %_libdir/libprotobuf-c.so %_libdir/pkgconfig/libprotobuf-c.pc