From: Seonah Moon Date: Wed, 22 Mar 2017 06:34:49 +0000 (+0900) Subject: Changed the path of license by using '%license' macro X-Git-Tag: accepted/tizen/common/20170323.154605~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F20%2F120220%2F1;p=platform%2Fcore%2Fconnectivity%2Fnet-config.git Changed the path of license by using '%license' macro Signed-off-by: Seonah Moon Change-Id: I444110e14ab273cd0dd75d09f39188928807d89d --- diff --git a/packaging/net-config.spec b/packaging/net-config.spec index 629915c..5fb9e84 100755 --- a/packaging/net-config.spec +++ b/packaging/net-config.spec @@ -133,10 +133,6 @@ mkdir -p %{buildroot}/usr/system/RestoreDir/softreset cp resources/usr/system/RestoreDir/softreset/network_softreset.sh %{buildroot}/usr/system/RestoreDir/softreset/network_softreset.sh %endif -#License -mkdir -p %{buildroot}%{_datadir}/license -cp LICENSE %{buildroot}%{_datadir}/license/net-config - #OS Upgrade mkdir -p %{buildroot}%{upgrade_script_path} cp -f scripts/500.netconfig_upgrade.sh %{buildroot}%{upgrade_script_path} @@ -181,7 +177,7 @@ ln -sf %{_unitdir}/net-config.service %{_sysconfdir}/systemd/default-extra-depen %attr(644,root,root) %{_unitdir}/net-config.service %attr(644,root,root) %{_unitdir}/multi-user.target.wants/net-config.service %endif -%{_datadir}/license/net-config +%license LICENSE %if 0%{?model_build_feature_wlan_wearable} == 1 %attr(700,root,root) /usr/system/RestoreDir/softreset/network_softreset.sh %endif