From ac6ecb8338ee04317100cfd5965b58cb53194058 Mon Sep 17 00:00:00 2001 From: Nikos Mavrogiannopoulos Date: Wed, 25 Nov 2015 13:16:05 +0100 Subject: [PATCH] Added protobuf-c-compiler subpackage to reduce runtime --- protobuf-c.spec | 21 +++++++++++++++++++-- 1 file changed, 19 insertions(+), 2 deletions(-) diff --git a/protobuf-c.spec b/protobuf-c.spec index 42602de..0bdf276 100644 --- a/protobuf-c.spec +++ b/protobuf-c.spec @@ -1,6 +1,6 @@ Name: protobuf-c Version: 1.1.1 -Release: 2%{?dist} +Release: 3%{?dist} Summary: C bindings for Google's Protocol Buffers @@ -18,10 +18,20 @@ libraries to use Protocol Buffers from pure C (not C++). It uses a modified version of protoc called protoc-c. +%package compiler +Summary: Protocol Buffers C compiler +Group: Development/Libraries +Requires: %{name} = %{version}-%{release} + +%description compiler +This package contains a modified version of the Protocol Buffers +compiler for the C programming language called protoc-c. + %package devel Summary: Protocol Buffers C headers and libraries Group: Development/Libraries Requires: %{name} = %{version}-%{release} +Requires: %{name}-compiler = %{version}-%{release} %description devel This package contains protobuf-c headers and libraries. @@ -46,10 +56,13 @@ rm -f $RPM_BUILD_ROOT/%{_libdir}/libprotobuf-c.la %files %defattr(-,root,root,-) -%{_bindir}/protoc-c %{_libdir}/libprotobuf-c.so.* %doc TODO LICENSE ChangeLog +%files compiler +%defattr(-,root,root,-) +%{_bindir}/protoc-c + %files devel %defattr(-,root,root,-) %dir %{_includedir}/google @@ -58,7 +71,11 @@ rm -f $RPM_BUILD_ROOT/%{_libdir}/libprotobuf-c.la %{_libdir}/libprotobuf-c.so %{_libdir}/pkgconfig/libprotobuf-c.pc + %changelog +* Wed Nov 25 2015 Nikos Mavrogiannopoulos - 1.1.1-3 +- Added protobuf-c-compiler subpackage to reduce runtime + * Thu Jun 18 2015 Fedora Release Engineering - 1.1.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild