From 1647b82f318915096e460bf6bd5a8e538a4f1bcb Mon Sep 17 00:00:00 2001 From: Seonah Moon Date: Thu, 23 Mar 2017 14:40:43 +0900 Subject: [PATCH] Changed the path of license by using '%license' macro Change-Id: I1a460c5e556098fecff3722b681fd1a39ade7c19 --- packaging/wifi-efl-ug.spec | 20 +++----------------- 1 file changed, 3 insertions(+), 17 deletions(-) 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 -- 2.7.4