add %config_update and cleanup

This commit is contained in:
Alexander Stefanov 2022-03-11 06:57:31 +00:00
parent 817fd2e062
commit 06b82ca137

View file

@ -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