From 38778a369afdec9ba01e6c44d2e366a2c0349d32 Mon Sep 17 00:00:00 2001 From: basebuilder_pel7ppc64lebuilder0 Date: Sat, 23 Nov 2019 23:01:10 +0100 Subject: [PATCH] systemd update optflags Signed-off-by: basebuilder_pel7ppc64lebuilder0 --- SPECS/systemd.spec | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/SPECS/systemd.spec b/SPECS/systemd.spec index 4c59d60d..2a52477e 100644 --- a/SPECS/systemd.spec +++ b/SPECS/systemd.spec @@ -3,11 +3,12 @@ # 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 Version: 219 -Release: 67%{?dist}.2 +Release: 67%{?dist} # For a breakdown of the licensing, see README License: LGPLv2+ and MIT and GPLv2+ Summary: A System and Service Manager @@ -852,7 +853,7 @@ Requires(pre): /usr/sbin/groupadd Requires: dbus Requires: %{name}-libs = %{version}-%{release} Requires: kmod >= 18-4 -Requires: powerel-release >= 7.0 +Requires: powerel-release >= 7 Requires: diffutils Provides: /bin/systemctl