From b7836d91428a719d52671be9d13f9513d73cacfe Mon Sep 17 00:00:00 2001 From: SooChan Lim Date: Wed, 22 Mar 2017 15:34:16 +0900 Subject: [PATCH] use %license macro to copy the COPYING file. Change-Id: I64c2932a780a8ad1b401ce5700bbb18862502a82 --- packaging/libtbm.spec | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/packaging/libtbm.spec b/packaging/libtbm.spec index 7ce1f76..a9f901c 100644 --- a/packaging/libtbm.spec +++ b/packaging/libtbm.spec @@ -65,8 +65,6 @@ make -C ut check %install rm -rf %{buildroot} -mkdir -p %{buildroot}/%{TZ_SYS_RO_SHARE}/license -cp -af COPYING %{buildroot}/%{TZ_SYS_RO_SHARE}/license/%{name} %make_install @@ -96,7 +94,7 @@ rm -f %{_unitdir_user}/basic.target.wants/tbm-drm-auth-user.path %files %manifest %{name}.manifest %defattr(-,root,root,-) -%{TZ_SYS_RO_SHARE}/license/%{name} +%license COPYING %{_libdir}/libtbm.so.* %{_unitdir}/tbm-drm-auth.path %{_unitdir}/tbm-drm-auth.service -- 2.7.4