Accepting request 1227584 from Base:System

- fix build for loongarch64 (forwarded request 1227514 from adrianSuSE)

OBS-URL: https://build.opensuse.org/request/show/1227584
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/m4?expand=0&rev=41
This commit is contained in:
Ana Guerrero 2024-12-02 15:57:54 +00:00 committed by Git OBS Bridge
commit dc4797f7af
2 changed files with 10 additions and 2 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Sat Nov 30 13:02:16 UTC 2024 - Adrian Schröter <adrian@suse.de>
- fix build for loongarch64
-------------------------------------------------------------------
Fri Feb 23 11:47:05 UTC 2024 - pgajdos@suse.com

View File

@ -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 \