diff options
author | Philippe Coval <philippe.coval@osg.samsung.com> | 2016-11-04 14:13:48 -0700 |
---|---|---|
committer | Gerrit Code Review <gerrit@review.vlan103.tizen.org> | 2016-11-04 14:13:48 -0700 |
commit | bac28135df70543623c4685060e5095d204a7d1d (patch) | |
tree | d1254b3f49c9fb67455b39d945f7b6125407257f | |
parent | c87eedf8d19d421c5cf8e98446e07e99061d5d7f (diff) | |
parent | cb36bbf7cf0f653480f8c26384497561586c2375 (diff) | |
download | iotcon-bac28135df70543623c4685060e5095d204a7d1d.tar.gz iotcon-bac28135df70543623c4685060e5095d204a7d1d.tar.bz2 iotcon-bac28135df70543623c4685060e5095d204a7d1d.zip |
Merge "tizen: Add license file for devel subpackage" into tizensubmit/tizen/20161121.012034submit/tizen/20161121.001811submit/tizen/20161114.000927accepted/tizen/wearable/20161121.234733accepted/tizen/tv/20161121.234714accepted/tizen/mobile/20161121.234653accepted/tizen/ivi/20161121.234803accepted/tizen/common/20161121.143339
-rw-r--r-- | packaging/iotcon.spec | 6 |
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 |