Changing the spec file to add license changes tizen_2.2 2.2.1_release submit/tizen_2.2/20131107.055525
authorNandan SR <nandan.sr@samsung.com>
Mon, 16 Sep 2013 08:17:10 +0000 (13:47 +0530)
committerNandan SR <nandan.sr@samsung.com>
Mon, 16 Sep 2013 08:17:10 +0000 (13:47 +0530)
Signed-off-by: Nandan SR <nandan.sr@samsung.com>
packaging/capi-location-poi.spec

index 83a963d..0365a47 100755 (executable)
@@ -37,6 +37,9 @@ make %{?jobs:-j%jobs}
 
 %install
 rm -rf %{buildroot}
+mkdir -p %{buildroot}/usr/share/license
+cp %{_builddir}/%{name}-%{version}/LICENSE %{buildroot}/usr/share/license/%{name}
+
 %make_install
 
 %post -p /sbin/ldconfig
@@ -46,6 +49,7 @@ rm -rf %{buildroot}
 
 %files
 %manifest capi-location-poi.manifest
+/usr/share/license/%{name}
 %{_libdir}/libcapi-location-poi.so.*
 
 %files devel