summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKyungwook Tak <k.tak@samsung.com>2015-12-15 11:41:38 +0900
committerKyungwook Tak <k.tak@samsung.com>2015-12-15 11:42:42 +0900
commit5543b5d0a70b235124a5247bd6025764d01bea00 (patch)
tree6cdabbd9f302d400f36f2a80aec04ec16dbb2e23
parent07dca7cf11ce6b6b1b74d829fd3b9fe411d69b3c (diff)
downloadopenssl-5543b5d0a70b235124a5247bd6025764d01bea00.tar.gz
openssl-5543b5d0a70b235124a5247bd6025764d01bea00.tar.bz2
openssl-5543b5d0a70b235124a5247bd6025764d01bea00.zip
Change-Id: I70356e1ef2e74b817bd4008dc4e68473ed29d843 Signed-off-by: Kyungwook Tak <k.tak@samsung.com>
-rw-r--r--packaging/openssl.spec18
1 files changed, 3 insertions, 15 deletions
diff --git a/packaging/openssl.spec b/packaging/openssl.spec
index 145b0bc..5497537 100644
--- a/packaging/openssl.spec
+++ b/packaging/openssl.spec
@@ -258,18 +258,6 @@ cat AVAILABLE_CIPHERS
# Do not install demo scripts executable under /usr/share/doc
find demos -type f -perm /111 -exec chmod 644 {} \;
-#process openssllib
-mkdir $RPM_BUILD_ROOT/%{_lib}
-mv $RPM_BUILD_ROOT%{_libdir}/libssl.so.%{num_version} $RPM_BUILD_ROOT/%{_lib}/
-mv $RPM_BUILD_ROOT%{_libdir}/libcrypto.so.%{num_version} $RPM_BUILD_ROOT/%{_lib}/
-mv $RPM_BUILD_ROOT%{_libdir}/engines $RPM_BUILD_ROOT/%{_lib}/
-cd $RPM_BUILD_ROOT%{_libdir}/
-ln -sf /%{_lib}/libssl.so.%{num_version} ./libssl.so
-ln -sf /%{_lib}/libcrypto.so.%{num_version} ./libcrypto.so
-
-cd $RPM_BUILD_DIR
-
-
%post -n libopenssl -p /sbin/ldconfig
%postun -n libopenssl -p /sbin/ldconfig
@@ -278,9 +266,9 @@ cd $RPM_BUILD_DIR
%manifest %{name}.manifest
%defattr(-, root, root)
%license LICENSE
-/%{_lib}/libssl.so.%{num_version}
-/%{_lib}/libcrypto.so.%{num_version}
-/%{_lib}/engines
+%{_libdir}/libssl.so.%{num_version}
+%{_libdir}/libcrypto.so.%{num_version}
+%{_libdir}/engines
%files -n libopenssl-devel
%manifest %{name}.manifest