From c3ada725a8b346cbb2a4ce4f473f044053f92da9 Mon Sep 17 00:00:00 2001 From: Michel Lind Date: Oct 05 2023 22:22:17 +0000 Subject: No need for autoreconf if we are not patching Signed-off-by: Michel Lind --- diff --git a/rasdaemon.spec b/rasdaemon.spec index d0a7133..8a64e17 100644 --- a/rasdaemon.spec +++ b/rasdaemon.spec @@ -14,9 +14,11 @@ Patch2: https://github.com/mchehab/rasdaemon/pull/97/commits/626f7c90ff943be9c Patch3: https://github.com/mchehab/rasdaemon/pull/97/commits/bcffec13f53796fe150f6464540d5e324ea6977d.patch#/%{name}-fix-typo.diff ExcludeArch: s390 s390x +%if 0%{?facebook} BuildRequires: autoconf BuildRequires: automake BuildRequires: libtool +%endif BuildRequires: gcc BuildRequires: gettext-devel BuildRequires: make @@ -47,10 +49,10 @@ an utility for reporting current error counts from the EDAC sysfs files. %prep %if 0%{?facebook} %autosetup -p1 +autoreconf -fiv %else %autosetup -N %endif -autoreconf -fiv %build %ifarch %{arm} aarch64