From: Jeongmo Yang Date: Tue, 11 Apr 2017 05:35:42 +0000 (+0900) Subject: Update spec file for license macro X-Git-Tag: accepted/tizen/4.0/unified/20170816.012400^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fheads%2Ftizen_5.5_mobile_hotfix;p=platform%2Fupstream%2Fopencore-amr.git Update spec file for license macro [Version] 0.1.3-1 [Profile] Common [Issue Type] Update [Dependency module] N/A Change-Id: I87024009d8b356b104d2c84448d631958919204e Signed-off-by: Jeongmo Yang --- diff --git a/packaging/opencore-amr.spec b/packaging/opencore-amr.spec index 9f01bef..6b854cc 100644 --- a/packaging/opencore-amr.spec +++ b/packaging/opencore-amr.spec @@ -1,7 +1,7 @@ Name: opencore-amr Summary: Opencore AMR package Version: 0.1.3 -Release: 0 +Release: 1 Group: Multimedia/Framework License: Apache-2.0 Source0: %{name}-%{version}.tar.gz @@ -30,9 +30,6 @@ cp %{SOURCE1001} . make %{?jobs:-j%jobs} %install -rm -rf %{buildroot} -mkdir -p %{buildroot}/usr/share/license -cp LICENSE %{buildroot}/usr/share/license/%{name} %make_install %post -p /sbin/ldconfig @@ -42,10 +39,10 @@ cp LICENSE %{buildroot}/usr/share/license/%{name} %files %manifest %{name}.manifest +%license LICENSE %defattr(-,root,root,-) %{_libdir}/libopencore-amrnb.so* %{_libdir}/libopencore-amrwb.so* -%{_datadir}/license/%{name} %files devel %manifest %{name}.manifest