From 5a73bdc83434421b6bb2db327ca077796dc56d47 Mon Sep 17 00:00:00 2001 From: Jeongmo Yang Date: Tue, 11 Apr 2017 14:35:42 +0900 Subject: [PATCH] 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 --- packaging/opencore-amr.spec | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) 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 -- 2.7.4