forked from pool/openssl-ibmca
Accepting request 1083947 from home:ngueorguiev:branches:security:tls
- Updated the .spec file * uses a flag openssl3 (1 or 0) to include or not the openssl3 libraries OBS-URL: https://build.opensuse.org/request/show/1083947 OBS-URL: https://build.opensuse.org/package/show/security:tls/openssl-ibmca?expand=0&rev=49
This commit is contained in:
parent
1b6da356a1
commit
c919c280fe
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue May 2 07:49:24 UTC 2023 - Nikolay Gueorguiev <nikolay.gueorguiev@suse.com>
|
||||
|
||||
- Updated the .spec file
|
||||
* uses a flag openssl3 (1 or 0) to include or not the openssl3 libraries
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Apr 25 12:47:39 UTC 2023 - Nikolay Gueorguiev <nikolay.gueorguiev@suse.com>
|
||||
|
||||
|
@ -16,6 +16,8 @@
|
||||
#
|
||||
|
||||
|
||||
%define openssl3 1
|
||||
|
||||
%global enginesdir %(pkg-config --variable=enginesdir libcrypto)
|
||||
|
||||
Name: openssl-ibmca
|
||||
@ -36,9 +38,14 @@ BuildRequires: libica >= 4.0.0
|
||||
BuildRequires: libica-devel >= 4.0.0
|
||||
BuildRequires: libica-tools >= 4.0.0
|
||||
BuildRequires: libtool
|
||||
BuildRequires: openssl-devel
|
||||
Requires: libica >= 4.0.0
|
||||
%if %{openssl3}
|
||||
BuildRequires: openssl-devel > 3.0.0
|
||||
Requires: openssl > 3.0.0
|
||||
%else
|
||||
BuildRequires: openssl-devel
|
||||
Requires: openssl
|
||||
%endif
|
||||
ExclusiveArch: s390x
|
||||
|
||||
%description
|
||||
@ -85,8 +92,10 @@ grep -v "^#" src/engine/openssl.cnf.sample | \
|
||||
SSLENGCNF=%{_sysconfdir}/ssl/engines.d
|
||||
SSLENGDEF=%{_sysconfdir}/ssl/engdef.d
|
||||
|
||||
mkdir -p ${SSLENGCNF}
|
||||
mkdir -p ${SSLENGDEF}
|
||||
%if %{openssl3}
|
||||
mkdir -p ${SSLENGCNF}
|
||||
mkdir -p ${SSLENGDEF}
|
||||
%endif
|
||||
|
||||
cp -p %{_datadir}/%{name}/openssl-ibmca.sectiondef.txt ${SSLENGCNF}/openssl-ibmca.cnf
|
||||
cp -p %{_datadir}/%{name}/openssl-ibmca.enginedef.cnf ${SSLENGDEF}/openssl-ibmca.cnf
|
||||
@ -109,9 +118,10 @@ fi
|
||||
%{_datadir}/%{name}/openssl-ibmca.sectiondef.txt
|
||||
%{_datadir}/%{name}/openssl-ibmca.enginedef.cnf
|
||||
%{enginesdir}/ibmca.*
|
||||
/usr/lib64/engines-3/ibmca-provider.la
|
||||
/usr/lib64/engines-3/ibmca-provider.so
|
||||
%{_mandir}/man5/ibmca.5%{?ext_man}
|
||||
%{_mandir}/man5/ibmca-provider.5.gz
|
||||
%if %{openssl3}
|
||||
%{_mandir}/man5/ibmca-provider.5%{?ext_man}
|
||||
%{enginesdir}/ibmca-provider.*
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
|
Loading…
Reference in New Issue
Block a user