From: Seonah Moon Date: Thu, 23 Mar 2017 05:40:43 +0000 (+0900) Subject: Changed the path of license by using '%license' macro X-Git-Tag: accepted/tizen/common/20170324.122803^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F70%2F120470%2F1;p=apps%2Fnative%2Fug-wifi-efl.git Changed the path of license by using '%license' macro Change-Id: I1a460c5e556098fecff3722b681fd1a39ade7c19 --- diff --git a/packaging/wifi-efl-ug.spec b/packaging/wifi-efl-ug.spec index 5c4ed0a..7e7ec2d 100644 --- a/packaging/wifi-efl-ug.spec +++ b/packaging/wifi-efl-ug.spec @@ -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