diff --git a/m4.changes b/m4.changes index 66d6400..f9fadf3 100644 --- a/m4.changes +++ b/m4.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sat Nov 30 13:02:16 UTC 2024 - Adrian Schröter + +- fix build for loongarch64 + ------------------------------------------------------------------- Fri Feb 23 11:47:05 UTC 2024 - pgajdos@suse.com diff --git a/m4.spec b/m4.spec index add1c1a..3d054dd 100644 --- a/m4.spec +++ b/m4.spec @@ -1,7 +1,7 @@ # # spec file for package m4 # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -30,7 +30,7 @@ Patch1: gnulib-libio.patch Patch2: gnulib-c-stack.patch BuildRequires: xz Requires(post): %{install_info_prereq} -Requires(preun):%{install_info_prereq} +Requires(preun): %{install_info_prereq} Provides: base:%{_bindir}/m4 %description @@ -38,6 +38,9 @@ GNU m4 is an implementation of the traditional Unix macro processor. %prep %autosetup -p1 +%ifarch loongarch64 +cp -a /usr/lib/rpm/config.{sub,guess} build-aux/ +%endif %build %configure \