From c97b1b278430b22d78e40ed5d65514d049cfb4b9 Mon Sep 17 00:00:00 2001 From: whoisxxx Date: Mon, 1 Jun 2020 16:32:39 +0800 Subject: [PATCH] Adapt to the RISC-V arch. The buildrequire valgrind is arch-specific. The configure item gnu-efi not works for RISC-V. Some related files will not generated after compile. Signed-off-by: whoisxxx --- systemd.spec | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/systemd.spec b/systemd.spec index 94c0ec6..7ae2a70 100644 --- a/systemd.spec +++ b/systemd.spec @@ -15,8 +15,7 @@ %ifarch %{ix86} x86_64 aarch64 %global have_gnu_efi 1 -%endif - +%endif Name: systemd Url: https://www.freedesktop.org/wiki/Software/systemd Version: 248 @@ -82,7 +81,6 @@ BuildRequires: python3-devel, python3-lxml, firewalld-filesystem, libseccomp-de %if 0%{?have_gnu_efi} BuildRequires: gnu-efi gnu-efi-devel %endif - %ifarch %{valgrind_arches} BuildRequires: valgrind-devel %endif @@ -1530,6 +1528,11 @@ fi %exclude /usr/share/man/man3/* %changelog +* Mon June 1 2020 whoisxxx - 243-23 +- Type:enhancement +- ID:NA +- SUG:NA +- DESC:adapt to different arches * Wed May 19 2021 fangxiuning - 248-4 - journald: enforce longer line length limit during "setup" phase of stream protocol -- Gitee