summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2019-12-17 07:04:16 +0100
committerGerd Hoffmann <kraxel@redhat.com>2019-12-17 07:04:16 +0100
commit6e42c447f070ca23925c487c96d6702fc7564fbc (patch)
treebfa72affd3dc4b90c0c2f170ffab8823a4efb111
parenta33eb565f1ad364f2077be91173cdb6cc548ac79 (diff)
downloadqboot-6e42c447f070ca23925c487c96d6702fc7564fbc.tar.gz
adapt spec to meson switch
-rw-r--r--qboot.git.spec7
1 files changed, 4 insertions, 3 deletions
diff --git a/qboot.git.spec b/qboot.git.spec
index dcbde0b..1c820da 100644
--- a/qboot.git.spec
+++ b/qboot.git.spec
@@ -10,7 +10,7 @@ License: GPL
Source0: qboot.git-g23d4749.tar.xz
-BuildRequires: make gcc binutils
+BuildRequires: meson gcc binutils
BuildRequires: glibc-devel(x86-32)
BuildRequires: glibc-devel(x86-64)
@@ -23,11 +23,12 @@ A simple x86 firmware that can boot Linux.
%setup -q -n %{name}
%build
-make
+meson . build-rpm
+ninja-build -C build-rpm
%install
mkdir -p %{buildroot}/usr/share/%{name}
-cp bios.bin %{buildroot}/usr/share/%{name}
+cp build-rpm/bios.bin %{buildroot}/usr/share/%{name}
%files
/usr/share/%{name}