[spec] Add license macro 11/120511/2 accepted/tizen_common accepted/tizen_ivi accepted/tizen_mobile accepted/tizen_tv accepted/tizen_wearable accepted/tizen/common/20170329.172353 accepted/tizen/ivi/20170329.222131 accepted/tizen/mobile/20170329.222031 accepted/tizen/tv/20170329.222103 accepted/tizen/unified/20170329.222140 accepted/tizen/wearable/20170329.222117 submit/tizen/20170329.085121
authorLukasz Bardeli <l.bardeli@samsung.com>
Thu, 23 Mar 2017 06:18:41 +0000 (07:18 +0100)
committerLukasz Bardeli <l.bardeli@samsung.com>
Fri, 24 Mar 2017 09:05:46 +0000 (10:05 +0100)
[Verification] Code compiles without error

Change-Id: I9b6536d4655fee4b90e72719c07935084a3e5c6a
Signed-off-by: Lukasz Bardeli <l.bardeli@samsung.com>
packaging/webapi-plugins.spec

index 81bf0d3..b475a5b 100644 (file)
@@ -984,10 +984,6 @@ popd
 %endif
 
 %install
-mkdir -p %{buildroot}/usr/share/license
-cp LICENSE %{buildroot}/usr/share/license/%{name}
-cat LICENSE.BSD-3-Clause >> %{buildroot}/usr/share/license/%{name}
-cat LICENSE.MIT >> %{buildroot}/usr/share/license/%{name}
 
 # Extensions.
 mkdir -p %{buildroot}%{crosswalk_extensions_path}
@@ -1072,8 +1068,8 @@ cp -a tools/slimit %{buildroot}%{_includedir}/%{name}/tools/slimit
 cp -a out/Default/desc_gentool %{buildroot}%{_includedir}/%{name}/tools/desc_gentool
 
 %files
-%{_datadir}/license/%{name}
 %manifest webapi-plugins.manifest
+%license LICENSE
 
 %if "%{?unified_build}" == "1" || "%{?profile}" == "common"
 %post profile_common