From bf8aa4eab9efe89b4a1b3fe68c77d3e4e1d2d656 Mon Sep 17 00:00:00 2001 From: SooChan Lim Date: Wed, 22 Mar 2017 15:39:31 +0900 Subject: use %license macro to copy the COPYING file. Change-Id: I131e03dcae140c8667e6ed1cddeef554d9e5d1d9 --- packaging/libtbm-exynos-tgm.spec | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/packaging/libtbm-exynos-tgm.spec b/packaging/libtbm-exynos-tgm.spec index 457b430..808e2a3 100644 --- a/packaging/libtbm-exynos-tgm.spec +++ b/packaging/libtbm-exynos-tgm.spec @@ -35,8 +35,6 @@ make %{?_smp_mflags} %install rm -rf %{buildroot} -mkdir -p %{buildroot}/%{TZ_SYS_RO_SHARE}/license -cp -af COPYING %{buildroot}/%{TZ_SYS_RO_SHARE}/license/%{name} mkdir -p %{buildroot}%{_libdir}/udev/rules.d/ cp -af rules/99-libtbm-exynos-tgm.rules %{buildroot}%{_libdir}/udev/rules.d/ @@ -53,5 +51,5 @@ ln -s libtbm-exynos-tgm.so %{_libdir}/bufmgr/libtbm_default.so %files %{_libdir}/bufmgr/libtbm-*.so* -%{TZ_SYS_RO_SHARE}/license/%{name} +%license COPYING %{_libdir}/udev/rules.d/99-libtbm-exynos-tgm.rules -- cgit v1.2.3