From 3971c609a9d47dab178df36ddf3a5e66400cf576 Mon Sep 17 00:00:00 2001 From: SooChan Lim Date: Wed, 22 Mar 2017 15:48:13 +0900 Subject: use %license macro to copy the COPYING file. Change-Id: Id574e5a1323d3510e831c8ff592c93d420405d3a --- packaging/libtbm-vigs.spec | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'packaging') diff --git a/packaging/libtbm-vigs.spec b/packaging/libtbm-vigs.spec index 01b3d23..831142d 100644 --- a/packaging/libtbm-vigs.spec +++ b/packaging/libtbm-vigs.spec @@ -29,8 +29,6 @@ make %{?_smp_mflags} %install rm -rf %{buildroot} -mkdir -p %{buildroot}/usr/share/license -cp -af COPYING %{buildroot}/usr/share/license/%{name} %make_install @@ -45,5 +43,5 @@ ln -s libtbm_emulator.so %{_libdir}/bufmgr/libtbm_default.so %files %manifest %{name}.manifest %defattr(-,root,root,-) -/usr/share/license/%{name} +%license COPYING %{_libdir}/bufmgr/libtbm_*.so* -- cgit v1.2.3