Update package spec file for license
authorZbigniew Kostrzewa <z.kostrzewa@samsung.com>
Fri, 27 Sep 2013 11:45:07 +0000 (13:45 +0200)
committerHoseon LEE <hoseon46.lee@samsung.com>
Mon, 14 Oct 2013 11:18:46 +0000 (20:18 +0900)
[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

index 38c7677..cf385c6 100644 (file)
@@ -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 #######################################################