bot: rpm5 -> rpm4 (10) [rosa2019.05]

(10) rosa2019.05: %py_ -> %py2_, %{py_ -> %{py2_

(9): Adopt spec for enabled byte compiling in Python

These automatic changes are done by scripts *rpm5-to-rpm4.sh at https://gitlab.com/abf-mirror/abf-mirror-scripts
The goal is to adopt specs for RPM 4 to which ROSA 2019.1 has migrated from RPM 5, but keep compatibility with RPM 5.
Details about migration are here: https://wiki.rosalab.ru/ru/index.php/Переход_ROSA_с_RPM_5_на_RPM_4
Contact m.novosyolov@rosalinux.ru in case of problems
This commit is contained in:
NixTux Commit Bot 2020-04-16 03:56:12 +03:00
parent 4f1b066556
commit d140173125

View file

@ -96,7 +96,7 @@ export CONFIGURE_TOP=`pwd`
mkdir objs
pushd objs
CFLAGS="%{optflags} -O3 -funroll-loops" \
%configure2_5x
%configure
%make
popd
@ -104,7 +104,7 @@ popd
mkdir objsdietlibc
pushd objsdietlibc
CFLAGS="-Os" CC="diet gcc" \
%configure2_5x --disable-shared \
%configure --disable-shared \
--enable-static \
--disable-xz \
--disable-xzdec \
@ -130,4 +130,3 @@ install -m755 %{SOURCE1} -D %{buildroot}%{_bindir}/xzme
%check
make check -C objs