From 537853c119218c782326709bb52d27abb016a240 Mon Sep 17 00:00:00 2001 From: Zbigniew Kostrzewa Date: Fri, 27 Sep 2013 13:45:07 +0200 Subject: [PATCH] Update package spec file for license [Issue#] LINUXWRT-927 [Problem] Invalid/missing license file [Cause] N/A [Solution] Update license file [Verification] 1. Build repository 2. Install package on DUT 3. Check whether license for this repository exists in /usr/share/license Change-Id: If29463cb4b560e24f06a7b3cade7b02e31e67385 --- packaging/wrt.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packaging/wrt.spec b/packaging/wrt.spec index 38c7677..cf385c6 100644 --- a/packaging/wrt.spec +++ b/packaging/wrt.spec @@ -145,7 +145,7 @@ make %{?jobs:-j%jobs} %install mkdir -p %{buildroot}/usr/share/license cp LICENSE.APLv2 %{buildroot}/usr/share/license/%{name} -cp LICENSE.Flora %{buildroot}/usr/share/license/%{name} +cat LICENSE.Flora >> %{buildroot}/usr/share/license/%{name} %make_install ## wrt-launchpad-daemon ####################################################### -- 2.7.4