From 06b82ca1373eb5eeb2422e2b5854f709a8e1bcaa Mon Sep 17 00:00:00 2001 From: Alexander Stefanov Date: Fri, 11 Mar 2022 06:57:31 +0000 Subject: [PATCH] add %config_update and cleanup --- libressl.spec | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/libressl.spec b/libressl.spec index 1289eba..15b0878 100644 --- a/libressl.spec +++ b/libressl.spec @@ -436,6 +436,7 @@ done sh -x update.sh %build +%config_update %setup_compile_flags %serverbuild # Use the same %%_openssl dir with OpenSSL, but separate the config @@ -447,12 +448,12 @@ export CFLAGS="$CFLAGS -DX509_CONF_FILE='\"%{_openssldir}/libressl.cnf\"'" --enable-nc \ --enable-static \ --with-openssldir=%{_openssldir} -%make +%make_build %install set +f # explicitly enable shell globbing -%makeinstall_std +%make_install # Some ideas about mans are from ALT Linux spec install -m 0644 apps/nc/nc.1 %{buildroot}%{_mandir}/man1/nc.1