Add license file into rpm package tizen_2.2 2.2.1_release submit/tizen_2.2/20131107.060502
authorJae-young Hwang <j-zero.hwang@samsung.com>
Wed, 25 Sep 2013 08:23:44 +0000 (17:23 +0900)
committerJae-young Hwang <j-zero.hwang@samsung.com>
Wed, 25 Sep 2013 08:39:38 +0000 (17:39 +0900)
License file must be included in Tizen SDK release binary
because Tizen SDK license is deleted.

Change-Id: I4b180ba1927d276875b9aafab9696f5889ec1478
Signed-off-by: Jae-young Hwang <j-zero.hwang@samsung.com>
packaging/iniparser.spec

index 4a5479f..d2df99e 100755 (executable)
@@ -70,6 +70,10 @@ do
        done;
 done
 
+# license
+mkdir -p %{buildroot}/usr/share/license
+cp LICENSE %{buildroot}/usr/share/license/%{name}
+
 %post -p /sbin/ldconfig
 
 %postun -p /sbin/ldconfig
@@ -78,6 +82,7 @@ done
 %manifest %{name}.manifest
 %{_datadir}/license/%{name}
 %{_libdir}/*.so.*
+/usr/share/license/%{name}
 
 %files devel
 %{_includedir}/*.h