summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilippe Coval <philippe.coval@osg.samsung.com>2016-11-04 14:13:48 -0700
committerGerrit Code Review <gerrit@review.vlan103.tizen.org>2016-11-04 14:13:48 -0700
commitbac28135df70543623c4685060e5095d204a7d1d (patch)
treed1254b3f49c9fb67455b39d945f7b6125407257f
parentc87eedf8d19d421c5cf8e98446e07e99061d5d7f (diff)
parentcb36bbf7cf0f653480f8c26384497561586c2375 (diff)
downloadiotcon-bac28135df70543623c4685060e5095d204a7d1d.tar.gz
iotcon-bac28135df70543623c4685060e5095d204a7d1d.tar.bz2
iotcon-bac28135df70543623c4685060e5095d204a7d1d.zip
-rw-r--r--packaging/iotcon.spec6
1 files changed, 6 insertions, 0 deletions
diff --git a/packaging/iotcon.spec b/packaging/iotcon.spec
index 2a1cd86..065ed90 100644
--- a/packaging/iotcon.spec
+++ b/packaging/iotcon.spec
@@ -102,6 +102,7 @@ rm -rf %{buildroot}
mkdir -p %{buildroot}/%{_datadir}/license
cp LICENSE.APLv2 %{buildroot}/%{_datadir}/license/%{name}
cp LICENSE.APLv2 %{buildroot}/%{_datadir}/license/%{name}-test
+cp LICENSE.APLv2 %{buildroot}/%{_datadir}/license/%{name}-devel
%else
mkdir -p %{buildroot}/usr/share/%{name}
cp %{name}-network-get %{buildroot}/usr/share/%{name}/%{name}-network-get
@@ -140,6 +141,11 @@ chsmack -a "*" /usr/share/%{name}/%{name}-network-get
%files devel
%defattr(-,root,root,-)
+%if 0%{?tizen_version_major} < 3
+%{_datadir}/license/%{name}
+%else
+%license LICENSE.APLv2
+%endif
%{_libdir}/lib%{name}.so
%{_libdir}/pkgconfig/%{name}.pc
%{_includedir}/%{name}/*.h