1
0
forked from pool/protobuf-c

Accepting request 933272 from server:monitoring

OBS-URL: https://build.opensuse.org/request/show/933272
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/protobuf-c?expand=0&rev=19
This commit is contained in:
Dominique Leuenberger 2021-11-26 23:50:31 +00:00 committed by Git OBS Bridge
commit af2e156eac
3 changed files with 18 additions and 8 deletions

View File

@ -1 +0,0 @@
addFilter('devel-dependency libprotobuf-c-devel')

View File

@ -1,3 +1,16 @@
-------------------------------------------------------------------
Tue Nov 23 10:10:53 UTC 2021 - Bjørn Lie <bjorn.lie@gmail.com>
- Drop no longer needed rpmlintrc.
- Also add a protobuf-c =< version Obsoletes to devel sub-package.
-------------------------------------------------------------------
Fri Nov 19 17:38:59 UTC 2021 - Bjørn Lie <bjorn.lie@gmail.com>
- 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 <jengelh@inai.de>

View File

@ -26,7 +26,6 @@ License: BSD-3-Clause
Group: Development/Tools/Other
URL: https://github.com/protobuf-c/protobuf-c
Source: https://github.com/protobuf-c/protobuf-c/releases/download/v%version/%name-%version.tar.gz
Source99: protobuf-c-rpmlintrc
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: gcc
@ -35,7 +34,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 +53,8 @@ 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
Obsoletes: %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