Changed the path of license by using '%license' macro 70/120470/1 accepted/tizen/common/20170324.122803 accepted/tizen/ivi/20170324.111315 accepted/tizen/mobile/20170324.111015 accepted/tizen/tv/20170324.111143 accepted/tizen/unified/20170324.111357 accepted/tizen/wearable/20170324.111225 submit/tizen/20170324.043751 submit/tizen/20170324.072948
authorSeonah Moon <seonah1.moon@samsung.com>
Thu, 23 Mar 2017 05:40:43 +0000 (14:40 +0900)
committerSeonah Moon <seonah1.moon@samsung.com>
Thu, 23 Mar 2017 05:40:49 +0000 (14:40 +0900)
Change-Id: I1a460c5e556098fecff3722b681fd1a39ade7c19

packaging/wifi-efl-ug.spec

index 5c4ed0a..7e7ec2d 100644 (file)
@@ -191,20 +191,6 @@ popd
 %make_install
 %endif
 
-#License
-mkdir -p %{buildroot}%{_datadir}/license
-cp LICENSE %{buildroot}%{_datadir}/license/wifi-efl-ug
-# For backward compatibility. Not needed (always true) in unified environment.
-# mobile, common, or unified (undefined)
-%if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi"
-cp LICENSE %{buildroot}%{_datadir}/license/net.wifi-qs
-%endif
-# For backward compatibility. Not needed (always true) in unified environment.
-# wearable, or unified (undefined) (add common after refactoring efl-ext)
-%if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
-cp LICENSE %{buildroot}%{_datadir}/license/org.tizen.w-wifi
-%endif
-
 %post
 /sbin/ldconfig
 
@@ -216,10 +202,10 @@ mkdir -p /usr/apps/wifi-efl-ug/bin/ -m 777
 %files
 %manifest wifi-efl-ug.manifest
 %{PREFIX}/apps/wifi-efl-ug/res/edje/*.edj
-%{_datadir}/license/wifi-efl-ug
 %{_datadir}/packages/wifi-efl-ug.xml
 /usr/apps/wifi-efl-ug/shared/res/tables/ug-wifi-efl_ChangeableColorTable.xml
 /usr/apps/wifi-efl-ug/shared/res/tables/ug-wifi-efl_FontInfoTable.xml
+%license LICENSE
 
 # For backward compatibility. Not needed (always true) in unified environment.
 # common, or unified (undefined)
@@ -282,7 +268,7 @@ popd
 %{_datadir}/packages/net.wifi-qs.xml
 %{_datadir}/icons/*.png
 %{PREFIX}/apps/net.wifi-qs/res/edje/*.edj
-%{_datadir}/license/net.wifi-qs
+%license LICENSE
 %endif
 
 # For backward compatibility. Not needed (always true) in unified environment.
@@ -299,5 +285,5 @@ popd
 %{PREFIX}/apps/org.tizen.w-wifi/res/locale/*/LC_MESSAGES/*.mo
 %{PREFIX}/apps/org.tizen.w-wifi/res/edje/*
 %{_datadir}/packages/org.tizen.w-wifi.xml
-%{_datadir}/license/org.tizen.w-wifi
+%license LICENSE
 %endif