Accepting request 213132 from Base:System

Fixed bnc#857850, openssl doesn't load engine; Modify file: openssl.spec (forwarded request 213131 from shawn2012)

OBS-URL: https://build.opensuse.org/request/show/213132
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/openssl?expand=0&rev=106
This commit is contained in:
Stephan Kulow 2014-01-09 16:25:37 +00:00 committed by Git OBS Bridge
parent db3e410d01
commit d3d7dacdf7
2 changed files with 10 additions and 4 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Jan 8 10:57:24 UTC 2014 - shchang@suse.com
- Fixed bnc#857850, openssl doesn't load engine
Modify file: openssl.spec
-------------------------------------------------------------------
Thu Jan 2 17:28:41 UTC 2014 - shchang@suse.com

View File

@ -396,7 +396,7 @@ $RPM_BUILD_ROOT/usr/bin/fips_standalone_hmac \
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}/
mv $RPM_BUILD_ROOT%{_libdir}/engines $RPM_BUILD_ROOT/%{_lib}/
cd $RPM_BUILD_ROOT%{_libdir}/
ln -sf /%{_libdir}/libssl.so.%{num_version} ./libssl.so
#ln -sf /%{_lib}/libssl.so.%{num_version} ./libssl.so.%{num_version}
@ -404,11 +404,11 @@ ln -sf /%{_libdir}/libcrypto.so.%{num_version} ./libcrypto.so
#ln -sf /%{_lib}/libcrypto.so.%{num_version} ./libcrypto.so.%{num_version}
for engine in 4758cca atalla nuron sureware ubsec cswift chil aep; do
rm %{buildroot}/%{_libdir}/engines/lib$engine.so
rm %{buildroot}/%{_lib}/engines/lib$engine.so
done
%ifnarch %{ix86} x86_64
rm %{buildroot}/%{_libdir}/engines/libpadlock.so
rm %{buildroot}/%{_lib}/engines/libpadlock.so
%endif
%clean
@ -422,7 +422,7 @@ if ! test -f /.buildenv; then rm -rf $RPM_BUILD_ROOT; fi
%defattr(-, root, root)
/%{_libdir}/libssl.so.%{num_version}
/%{_libdir}/libcrypto.so.%{num_version}
/%{_libdir}/engines
/%{_lib}/engines
%files -n libopenssl1_0_0-hmac
%defattr(-, root, root)