From ea21c77dfecbd4027bbac2dff2fdfda57b86a99c Mon Sep 17 00:00:00 2001 From: Hermet Park Date: Wed, 2 Jan 2019 18:10:36 +0900 Subject: [PATCH] packaging: packaging licensing properly. As fedora guidelines, %license is the reserved keyword to install copyright files. We don't need to copy them manually. Change-Id: I21d353f0fdecb86e1a662f8e336db8d84753da87 --- packaging/lottie-player.spec | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/packaging/lottie-player.spec b/packaging/lottie-player.spec index 3e0bc7d..f2bf9e4 100644 --- a/packaging/lottie-player.spec +++ b/packaging/lottie-player.spec @@ -52,15 +52,11 @@ make %{?jobs:-j%jobs} %install %make_install -mkdir -p %{buildroot}/%{_datadir}/license -cp %{_builddir}/%{buildsubdir}/COPYING %{buildroot}/%{_datadir}/license/COPYING -cp %{_builddir}/%{buildsubdir}/licenses/* %{buildroot}/%{_datadir}/license/ - %files %defattr(-,root,root,-) %{_libdir}/liblottie-player.so.* -%{_datadir}/license/COPYING* %manifest %{name}.manifest +%license COPYING licenses/COPYING* %files devel %defattr(-,root,root,-) -- 2.7.4