From d14017312504a51f573797832968f47fde4772db Mon Sep 17 00:00:00 2001 From: NixTux Commit Bot Date: Thu, 16 Apr 2020 03:56:12 +0300 Subject: [PATCH] bot: rpm5 -> rpm4 (10) [rosa2019.05] MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit (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 --- xz.spec | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/xz.spec b/xz.spec index b9c8f11..72b6453 100644 --- a/xz.spec +++ b/xz.spec @@ -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 -