Update package spec file for license
authorZbigniew Kostrzewa <z.kostrzewa@samsung.com>
Fri, 27 Sep 2013 10:28:24 +0000 (12:28 +0200)
committerSoo-Hyun Choi <sh9.choi@samsung.com>
Mon, 30 Sep 2013 02:13:46 +0000 (02:13 +0000)
[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: I74caf00a8bc9c13701ef367fa1f3bc908a65af68

packaging/wrt-commons.spec

index ae0845f..e5f4354 100644 (file)
@@ -68,7 +68,7 @@ make %{?jobs:-j%jobs}
 
 %install
 mkdir -p %{buildroot}/usr/share/license
-cp %{name} %{buildroot}/usr/share/license/
+cp LICENSE %{buildroot}/usr/share/license/%{name}
 %make_install
 
 %clean