From: Youngjae Shin Date: Tue, 11 Apr 2017 05:19:51 +0000 (+0900) Subject: fix to install the license file X-Git-Tag: submit/tizen/20170424.023531~5 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F84%2F124284%2F1;p=platform%2Fcore%2Fapi%2Fcommon.git fix to install the license file Change-Id: Ief61bb478d65a696056cf1c138a6acc83212b217 --- 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