From ab73aaba1120fe826bbc0fd525bafde7d215dc81 Mon Sep 17 00:00:00 2001 From: Kunhoon Baik Date: Thu, 25 May 2017 11:41:40 +0900 Subject: Fix error of the rpm spec RPM macro devel_package includes package,decription and files. However, "files devel" is redefined in this package. This patch removes the devel_package macro for better description of devel packages and fixing bugs Change-Id: I4649a3406de46d9f1f937b077df1d25130a9bc68 --- packaging/ejdb.spec | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/packaging/ejdb.spec b/packaging/ejdb.spec index 4a08997..38cf159 100644 --- a/packaging/ejdb.spec +++ b/packaging/ejdb.spec @@ -2,10 +2,10 @@ Name: ejdb Version: 1.2.12 Release: 0 License: LGPL-2.1+ -Source0: %{name}-%{version}.tar.gz -Source1001: %{name}.manifest Summary: Embeddable document database Group: System/Database +Source0: %{name}-%{version}.tar.gz +Source1001: %{name}.manifest BuildRequires: cmake BuildRequires: pkgconfig(zlib) @@ -16,6 +16,13 @@ implemented as a C library based on Tokyo Cabinet key-value storage engine. EJDB design is inspired by Mongodb and follows the same philosophy, especially for the query language. +%package devel +Summary: Development files for package %{name} +Group: Development + +%description devel +This package provides header files and other developer releated files for package %{name}. + %prep %setup -q cp %{SOURCE1001} . @@ -48,7 +55,6 @@ EOF %docs_package -%devel_package %files devel %{_datadir}/ejdb/*.cmake %{_includedir}/* -- cgit v1.2.3