From c6952ef04fa0c2463b46e1d2217af99c897210af Mon Sep 17 00:00:00 2001 From: Jiyong Min Date: Tue, 17 Jan 2017 19:37:56 +0900 Subject: [PATCH] Add tool package due to it is unneccessary in binary Change-Id: I705f394ad73a6c45bd9354c0e92100e00dabd4b4 Signed-off-by: jiyong.min (cherry picked from commit 4522539b7ee78099a7f979c1551526959c5121be) --- packaging/libbmp.spec | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/packaging/libbmp.spec b/packaging/libbmp.spec index 21e022f..8cf046a 100644 --- a/packaging/libbmp.spec +++ b/packaging/libbmp.spec @@ -24,6 +24,14 @@ Requires: %{name} = %{version}-%{release} %description devel A library of functions for encoding BMP image format files - Development files. +%package tool +Summary: A tool for testing library (TOOL) +Group: Development/Tools +Requires: %{name} = %{version}-%{release} + +%description tool +A tool for testing library - Tools. + %prep %setup -q -n %{name}-%{version} @@ -55,4 +63,10 @@ cp -rf %{_builddir}/%{name}-%{version}/COPYING %{buildroot}/%{_datadir}/license/ %{_includedir}/* %{_libdir}/libbmp*.so %{_libdir}/pkgconfig/* +%{_datadir}/license/%{name} +%files tool +%manifest libbmp.manifest +%defattr(-,root,root,-) +%{_bindir}/* +%{_datadir}/license/%{name} -- 2.7.4