Add copying license code to /usr/share/license/ tizen_2.2 2.2.1_release submit/tizen_2.2/20131029.075421
authorjc815.lee <jc815.lee@samsung.com>
Fri, 27 Sep 2013 09:32:24 +0000 (18:32 +0900)
committerjc815.lee <jc815.lee@samsung.com>
Fri, 27 Sep 2013 09:32:46 +0000 (18:32 +0900)
[model]
[binary_type]
[customer]
[issue#]
[problem]
[cause]
[solution]
[team]
[request]
[horizontal_expansion]

Change-Id: If1606f09cf1e51ccf878b35222a977b2212bf676
Signed-off-by: jc815.lee <jc815.lee@samsung.com>
packaging/openssl.spec

index c2bc92b..5c63522 100755 (executable)
@@ -50,6 +50,8 @@ make all
 # Install OpenSSL.
 make INSTALL_PREFIX=$RPM_BUILD_ROOT install
 rm -rf %{buildroot}/usr/ssl/man
+mkdir -p %{buildroot}/usr/share/license
+cp LICENSE %{buildroot}/usr/share/license/%{name}
 
 %clean
 [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
@@ -66,6 +68,7 @@ rm -rf %{buildroot}/usr/ssl/man
 %{_libdir}/engines/*.so
 %{_libdir}/libcrypto.so.%{soversion}
 %{_libdir}/libssl.so.%{soversion}
+/usr/share/license/%{name}
 
 %files devel
 %manifest openssl.manifest