mirror of
https://abf.rosa.ru/djam/xz.git
synced 2025-02-23 18:42:57 +00:00
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:
parent
4f1b066556
commit
d140173125
1 changed files with 2 additions and 3 deletions
5
xz.spec
5
xz.spec
|
@ -96,7 +96,7 @@ export CONFIGURE_TOP=`pwd`
|
||||||
mkdir objs
|
mkdir objs
|
||||||
pushd objs
|
pushd objs
|
||||||
CFLAGS="%{optflags} -O3 -funroll-loops" \
|
CFLAGS="%{optflags} -O3 -funroll-loops" \
|
||||||
%configure2_5x
|
%configure
|
||||||
%make
|
%make
|
||||||
popd
|
popd
|
||||||
|
|
||||||
|
@ -104,7 +104,7 @@ popd
|
||||||
mkdir objsdietlibc
|
mkdir objsdietlibc
|
||||||
pushd objsdietlibc
|
pushd objsdietlibc
|
||||||
CFLAGS="-Os" CC="diet gcc" \
|
CFLAGS="-Os" CC="diet gcc" \
|
||||||
%configure2_5x --disable-shared \
|
%configure --disable-shared \
|
||||||
--enable-static \
|
--enable-static \
|
||||||
--disable-xz \
|
--disable-xz \
|
||||||
--disable-xzdec \
|
--disable-xzdec \
|
||||||
|
@ -130,4 +130,3 @@ install -m755 %{SOURCE1} -D %{buildroot}%{_bindir}/xzme
|
||||||
|
|
||||||
%check
|
%check
|
||||||
make check -C objs
|
make check -C objs
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue