bot: rpm5 -> rpm4 (1)

This commit is contained in:
NixTux Commit Bot 2020-01-04 06:47:00 +03:00
parent 6c6e3a9b06
commit 037f1a2f53

View file

@ -279,7 +279,7 @@ export CPPFLAGS="%{optflags} -I/usr/include/ncursesw"
autoreconf -vfi
# Remove -Wl,--no-undefined
%define _disable_ld_no_undefined 1
%configure2_5x --with-threads \
%configure --with-threads \
--enable-ipv6 \
--with-dbmliborder=gdbm \
--with-system-expat \
@ -295,7 +295,7 @@ autoreconf -vfi
#perl -pi -e 's/^(LDFLAGS=.*)/$1 -lstdc++/' Makefile
# (misc) if the home is nfs mounted, rmdir fails due to delay
export TMP="/tmp" TMPDIR="/tmp"
#%make LN="ln -sf"
#%make_build LN="ln -sf"
make EXTRA_CFLAGS="$CFLAGS" LN="ln -sf"
%install
@ -310,7 +310,7 @@ echo 'install_dir='"${RPM_BUILD_ROOT}/usr/bin" >>setup.cfg
# python is not GNU and does not know fsstd
mkdir -p %{buildroot}%{_mandir}
%makeinstall_std LN="ln -sf"
%make_install LN="ln -sf"
# overwrite the copied binary with a link
pushd %{buildroot}%{_bindir}