summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYoungjae Shin <yj99.shin@samsung.com>2017-08-24 09:41:38 +0900
committerYoungjae Shin <yj99.shin@samsung.com>2017-08-24 09:41:59 +0900
commitabb0bbbedb7988e064685e948fa99c192ceb4d77 (patch)
treebf212f2096eee0a1d829a4b8e334cb1da2dadddc
parent45fd66d0f5c15dfe2dc38a228fdca007a957ddfe (diff)
downloadug-nfc-efl-abb0bbbedb7988e064685e948fa99c192ceb4d77.tar.gz
ug-nfc-efl-abb0bbbedb7988e064685e948fa99c192ceb4d77.tar.bz2
ug-nfc-efl-abb0bbbedb7988e064685e948fa99c192ceb4d77.zip
revise installing a license file
Change-Id: I3b630a525f576ecd12affd5c897b95eda1ecae10
-rw-r--r--packaging/ug-nfc-efl.spec5
1 files changed, 1 insertions, 4 deletions
diff --git a/packaging/ug-nfc-efl.spec b/packaging/ug-nfc-efl.spec
index 3553ba4..2659473 100644
--- a/packaging/ug-nfc-efl.spec
+++ b/packaging/ug-nfc-efl.spec
@@ -139,9 +139,6 @@ mv %{buildroot}/usr/share/packages/* wearable_ins/packages/
%endif
%install
-mkdir -p %{buildroot}/usr/share/license
-cp -af %{_builddir}/%{name}-%{version}/LICENSE.Flora %{buildroot}/usr/share/license/
-
mkdir -p %{buildroot}/usr/share/packages
mv common_ins/packages/* %{buildroot}/usr/share/packages/
mv wearable_ins/packages/* %{buildroot}/usr/share/packages/
@@ -203,7 +200,7 @@ rm /usr/ug/lib/libug-nfc-efl*
%files
%defattr(-,root,root,-)
-%{_datadir}/license/LICENSE.Flora
+%license LICENSE.Flora
# This is for backward-compatibility. This does not deteriorate 4.0 Configurability
# if common || tv || ivi || "undefined"