From 9e0bb78c7e56ec3f16c913b87538c8ec19a649b4 Mon Sep 17 00:00:00 2001 From: Sangyoon Jang Date: Thu, 23 Mar 2017 10:59:10 +0900 Subject: [PATCH] Use %license macro to copy license file Change-Id: I42a7a9bce4927ad8500c2e787bea7cfc6e387775 Signed-off-by: Sangyoon Jang --- packaging/app2sd.spec | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/packaging/app2sd.spec b/packaging/app2sd.spec index 64dc26e..cb7527f 100644 --- a/packaging/app2sd.spec +++ b/packaging/app2sd.spec @@ -58,18 +58,15 @@ make %{?jobs:-j%jobs} rm -rf %{buildroot} %make_install -mkdir -p %{buildroot}/usr/share/license -cp LICENSE %{buildroot}/usr/share/license/%{name} - %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %manifest %{name}.manifest +%license LICENSE %defattr(-,root,root,-) %{_libdir}/libapp2ext.so.* -/usr/share/license/%{name} %files devel %defattr(-,root,root,-) -- 2.7.4