mirror of
https://abf.rosa.ru/djam/python38.git
synced 2025-02-23 15:22:50 +00:00
bot: rpm5 -> rpm4 (1)
This commit is contained in:
parent
6c6e3a9b06
commit
037f1a2f53
1 changed files with 3 additions and 3 deletions
|
@ -279,7 +279,7 @@ export CPPFLAGS="%{optflags} -I/usr/include/ncursesw"
|
||||||
autoreconf -vfi
|
autoreconf -vfi
|
||||||
# Remove -Wl,--no-undefined
|
# Remove -Wl,--no-undefined
|
||||||
%define _disable_ld_no_undefined 1
|
%define _disable_ld_no_undefined 1
|
||||||
%configure2_5x --with-threads \
|
%configure --with-threads \
|
||||||
--enable-ipv6 \
|
--enable-ipv6 \
|
||||||
--with-dbmliborder=gdbm \
|
--with-dbmliborder=gdbm \
|
||||||
--with-system-expat \
|
--with-system-expat \
|
||||||
|
@ -295,7 +295,7 @@ autoreconf -vfi
|
||||||
#perl -pi -e 's/^(LDFLAGS=.*)/$1 -lstdc++/' Makefile
|
#perl -pi -e 's/^(LDFLAGS=.*)/$1 -lstdc++/' Makefile
|
||||||
# (misc) if the home is nfs mounted, rmdir fails due to delay
|
# (misc) if the home is nfs mounted, rmdir fails due to delay
|
||||||
export TMP="/tmp" TMPDIR="/tmp"
|
export TMP="/tmp" TMPDIR="/tmp"
|
||||||
#%make LN="ln -sf"
|
#%make_build LN="ln -sf"
|
||||||
make EXTRA_CFLAGS="$CFLAGS" LN="ln -sf"
|
make EXTRA_CFLAGS="$CFLAGS" LN="ln -sf"
|
||||||
|
|
||||||
%install
|
%install
|
||||||
|
@ -310,7 +310,7 @@ echo 'install_dir='"${RPM_BUILD_ROOT}/usr/bin" >>setup.cfg
|
||||||
|
|
||||||
# python is not GNU and does not know fsstd
|
# python is not GNU and does not know fsstd
|
||||||
mkdir -p %{buildroot}%{_mandir}
|
mkdir -p %{buildroot}%{_mandir}
|
||||||
%makeinstall_std LN="ln -sf"
|
%make_install LN="ln -sf"
|
||||||
|
|
||||||
# overwrite the copied binary with a link
|
# overwrite the copied binary with a link
|
||||||
pushd %{buildroot}%{_bindir}
|
pushd %{buildroot}%{_bindir}
|
||||||
|
|
Loading…
Add table
Reference in a new issue