From d818fe61337b0c11b3f0c82a75bad8e00ae4b1c8 Mon Sep 17 00:00:00 2001 From: Youngjae Shin Date: Tue, 11 Apr 2017 14:19:51 +0900 Subject: [PATCH] fix to install the license file Change-Id: Ief61bb478d65a696056cf1c138a6acc83212b217 --- packaging/capi-base-common.spec | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/packaging/capi-base-common.spec b/packaging/capi-base-common.spec index 6022022..72b5046 100644 --- a/packaging/capi-base-common.spec +++ b/packaging/capi-base-common.spec @@ -7,18 +7,18 @@ License: Apache-2.0 Source0: %{name}-%{version}.tar.gz BuildRequires: cmake -Requires(post): /sbin/ldconfig +Requires(post): /sbin/ldconfig Requires(postun): /sbin/ldconfig %description Common header files of Tizen Native API - -%package devel + +%package devel License: Apache-2.0 Summary: Common header files of Tizen Native API (Development) Group: Base -Requires: %{name} = %{version}-%{release} - +Requires: %{name} = %{version}-%{release} + %description devel Common header files of Tizen Native API @@ -36,10 +36,7 @@ make %{?jobs:-j%jobs} %install rm -rf %{buildroot} - %make_install -mkdir -p %{buildroot}/usr/share/license -cp LICENSE %{buildroot}/usr/share/license/%{name} %post -p /sbin/ldconfig @@ -49,6 +46,7 @@ cp LICENSE %{buildroot}/usr/share/license/%{name} %manifest %{name}.manifest /usr/share/license/%{name} %{_libdir}/libcapi-base-common.so.* +%license LICENSE %files devel %{_includedir}/*.h -- 2.34.1