mirror of
https://abf.rosa.ru/djam/libressl.git
synced 2025-02-23 16:12:53 +00:00
Add libressl macros
This commit is contained in:
parent
e50016a4ce
commit
f094e4f91a
1 changed files with 12 additions and 1 deletions
|
@ -56,7 +56,7 @@
|
||||||
Summary: LibreSSL utils and libs coexisting with OpenSSL
|
Summary: LibreSSL utils and libs coexisting with OpenSSL
|
||||||
Name: libressl
|
Name: libressl
|
||||||
Version: %{base_version}.git%{git_date}
|
Version: %{base_version}.git%{git_date}
|
||||||
Release: 13
|
Release: 14
|
||||||
# The code is distributed under ISC license except of original OpenSSL code
|
# The code is distributed under ISC license except of original OpenSSL code
|
||||||
License: ISC and BSD-like
|
License: ISC and BSD-like
|
||||||
Group: System/Base
|
Group: System/Base
|
||||||
|
@ -195,6 +195,7 @@ pkg-config sets -I%{_libdir} in CFLAGS.
|
||||||
%{_includedir}
|
%{_includedir}
|
||||||
%{_mandir}/*/*
|
%{_mandir}/*/*
|
||||||
%{_omandir}/man3/*
|
%{_omandir}/man3/*
|
||||||
|
%{_rpmmacrodir}/*libressl*
|
||||||
#-------------------------------------------------------------------------------------
|
#-------------------------------------------------------------------------------------
|
||||||
|
|
||||||
%package -n ocspcheck
|
%package -n ocspcheck
|
||||||
|
@ -393,6 +394,16 @@ chrpath --delete %{buildroot}/%{_obindir}/{nc,ocspcheck,libressl}
|
||||||
rm -fvr %{buildroot}/%{_openssldir}/{certs,cert.pem}
|
rm -fvr %{buildroot}/%{_openssldir}/{certs,cert.pem}
|
||||||
mv -v %{buildroot}/%{_openssldir}/openssl.cnf %{buildroot}/%{_openssldir}/libressl.cnf
|
mv -v %{buildroot}/%{_openssldir}/openssl.cnf %{buildroot}/%{_openssldir}/libressl.cnf
|
||||||
|
|
||||||
|
# Having sovers as macros may be useful to check that binaries are linked against LibreSSL
|
||||||
|
cat << EOF > macros.file
|
||||||
|
%%libressl_version %{base_version}
|
||||||
|
%%libressl_libcrypto_sover %{libcrypto_sover}
|
||||||
|
%%libressl_libssl_sover %{libssl_sover}
|
||||||
|
%%libressl_libtls_sover %{libtls_sover}
|
||||||
|
%%libressl_prefix /opt/libressl
|
||||||
|
EOF
|
||||||
|
%install_macro libressl macros.file
|
||||||
|
|
||||||
%check
|
%check
|
||||||
_pcf(){
|
_pcf(){
|
||||||
unset oflags nflags
|
unset oflags nflags
|
||||||
|
|
Loading…
Add table
Reference in a new issue