summaryrefslogtreecommitdiff
path: root/packaging/ug-nfc-efl.spec
diff options
context:
space:
mode:
Diffstat (limited to 'packaging/ug-nfc-efl.spec')
-rw-r--r--packaging/ug-nfc-efl.spec7
1 files changed, 5 insertions, 2 deletions
diff --git a/packaging/ug-nfc-efl.spec b/packaging/ug-nfc-efl.spec
index 45c9e14..50a896a 100644
--- a/packaging/ug-nfc-efl.spec
+++ b/packaging/ug-nfc-efl.spec
@@ -1,6 +1,6 @@
Name: ug-nfc-efl
Summary: NFC Setting UI
-Version: 3.1.8
+Version: 3.1.9
Release: 0
Group: App/Network
License: Flora-1.1
@@ -139,6 +139,9 @@ 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/
@@ -204,7 +207,7 @@ rm /usr/ug/lib/libug-nfc-efl*
%files
%defattr(-,root,root,-)
-%license LICENSE.Flora
+%{_datadir}/license/LICENSE.Flora
# This is for backward-compatibility. This does not deteriorate 4.0 Configurability
# if common || tv || ivi || "undefined"