From 13593b67ee3c7306572f7381ad7bd7c3f64e0988 Mon Sep 17 00:00:00 2001 From: basebuilder_pel7ppc64bebuilder0 Date: Tue, 29 May 2018 23:17:00 +0200 Subject: [PATCH] systemd change to powerel-release and change to O2 optflags Signed-off-by: basebuilder_pel7ppc64bebuilder0 --- SPECS/systemd.spec | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/SPECS/systemd.spec b/SPECS/systemd.spec index 4e960604..bb7cef5a 100644 --- a/SPECS/systemd.spec +++ b/SPECS/systemd.spec @@ -3,8 +3,7 @@ # directory. %global __requires_exclude pkg-config %global _hardened_build 1 - - +%global optflags %(echo %{optflags} | sed 's/-O3/-O2/') Name: systemd Url: http://www.freedesktop.org/wiki/Software/systemd @@ -706,7 +705,7 @@ Requires(pre): /usr/sbin/groupadd Requires: dbus Requires: %{name}-libs = %{version}-%{release} Requires: kmod >= 18-4 -Requires: redhat-release >= 7.0 +Requires: powerel-release >= 7 Requires: diffutils Provides: /bin/systemctl