From f5b66aa4bfa5af24841f58edd95f327fb9546a99 Mon Sep 17 00:00:00 2001 From: Jihoon Kim Date: Fri, 24 Mar 2017 11:33:07 +0900 Subject: [PATCH] Use %license to create license file Change-Id: I2603ee60221a50e313da0c76fb0e22e93d7737f3 Signed-off-by: Jihoon Kim --- packaging/libscl-common.spec | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/packaging/libscl-common.spec b/packaging/libscl-common.spec index e0ca2db..c429f3c 100644 --- a/packaging/libscl-common.spec +++ b/packaging/libscl-common.spec @@ -1,6 +1,3 @@ -%define _optdir /opt -%define _appdir %{_optdir}/apps - Name: libscl-common Summary: A library for developing software keyboards Version: 0.4.1 @@ -33,8 +30,6 @@ make %{?jobs:-j%jobs} %install rm -rf %{buildroot} -mkdir -p %{buildroot}/usr/share/license -cp LICENSE %{buildroot}/usr/share/license/%{name} %make_install @@ -48,7 +43,7 @@ cp LICENSE %{buildroot}/usr/share/license/%{name} %manifest %{name}.manifest %defattr(-,root,root,-) %{_libdir}/libscl-common.so -/usr/share/license/%{name} +%license LICENSE %files devel %defattr(-,root,root,-) -- 2.7.4