diff --git a/python3.spec b/python3.spec index 02e5ef2..0dee6af 100644 --- a/python3.spec +++ b/python3.spec @@ -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_build LN="ln -sf" +#%make 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} -%make_install LN="ln -sf" +%makeinstall_std LN="ln -sf" # overwrite the copied binary with a link pushd %{buildroot}%{_bindir}