diff --git a/python3.spec b/python3.spec index 01deacc..697fa60 100644 --- a/python3.spec +++ b/python3.spec @@ -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}