1
0
forked from pool/protobuf-c

Rename libprotobuf-c-devel to %name-devel

This commit is contained in:
Jan Engelhardt 2024-10-27 12:29:32 +01:00
parent 16dccf6ba8
commit 532c777e9c
2 changed files with 15 additions and 6 deletions

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Sun Oct 27 11:25:31 UTC 2024 - Jan Engelhardt <jengelh@inai.de>
- Implement naming guidelines and rename libprotobuf-c-devel back
to just %name-devel. (The divergence came about on Nov 19 2021
as a result of merging two subpackages.)
-------------------------------------------------------------------
Tue Oct 22 08:48:51 UTC 2024 - Fridrich Strba <fstrba@suse.com>

View File

@ -51,15 +51,17 @@ Group: System/Libraries
This package provides a code generator and runtime libraries to use Protocol
Buffers from pure C (not C++).
%package -n libprotobuf-c-devel
Summary: C bindings for Google's Protocol Buffers
%package devel
Summary: protobuf generator and headers
Group: Development/Libraries/C and C++
Requires: libprotobuf-c%sover = %version
Recommends: (protobuf-devel >= 2.6.0 with protobuf-devel < 22)
Provides: %name = %version
Obsoletes: %name <= 1.4.0
Provides: protobuf-c = %version-%release
Obsoletes: protobuf-c <= %version-%release
Provides: libprotobuf-c-devel = %version-%release
Obsoletes: libprotobuf-c-devel <= %version-%release
%description -n libprotobuf-c-devel
%description devel
This package provides a code generator and runtime libraries to use Protocol
Buffers from pure C (not C++).
@ -88,7 +90,7 @@ make check
%_libdir/libprotobuf-c.so.%sover
%_libdir/libprotobuf-c.so.%sover.*
%files -n libprotobuf-c-devel
%files devel
%license LICENSE
%dir %_includedir/protobuf-c
%dir %_includedir/google