39 lines
1.0 KiB
Plaintext
39 lines
1.0 KiB
Plaintext
# vim: syntax=spec
|
|
Support: build-compare
|
|
#
|
|
Release: SGX.<CI_CNT>.<B_CNT>
|
|
%if 0%{?suse_version} > 0
|
|
Release: SGX.%{suse_version}.<CI_CNT>.<B_CNT>
|
|
%endif
|
|
#
|
|
%if 0%{?sle_version} > 0
|
|
Release: SGX.%{sle_version}.<CI_CNT>.<B_CNT>
|
|
%endif
|
|
#
|
|
%if 0%{?sle_version} == 150500
|
|
# set to %nil or to some number, like 7 or 15 to use that gccN for the packages using this macro.
|
|
%define suse_sgx_gcc_major 14
|
|
Macros:
|
|
%suse_sgx_gcc_major 12
|
|
:Macros
|
|
%endif
|
|
#
|
|
%if 0%{?sle_version} == 150700
|
|
# set to %nil or to some number, like 7 or 15 to use that gccN for the packages using this macro.
|
|
%define suse_sgx_gcc_major 14
|
|
Macros:
|
|
%suse_sgx_gcc_major 14
|
|
:Macros
|
|
%endif
|
|
#
|
|
%if 0%{?suse_version} > 1600
|
|
# set to %nil or to some number, like 7 or 15 to use that gccN for the packages using this macro.
|
|
%define suse_sgx_gcc_major %nil
|
|
Macros:
|
|
%suse_sgx_gcc_major %nil
|
|
:Macros
|
|
%endif
|
|
#
|
|
# have choice for pkgconfig(libcrypto) >= 3: libopenssl-3-devel libopenssl-3-devel-32bit
|
|
# have choice for pkgconfig(openssl) >= 3: libopenssl-3-devel libopenssl-3-devel-32bit
|
|
Prefer: libopenssl-3-devel-32bit |