Compare commits
2 Commits
80b16b4732
...
11daec8436
Author | SHA1 | Date |
---|---|---|
David Abdurachmanov | 11daec8436 | |
David Abdurachmanov | b960d004c2 |
18
crun.spec
18
crun.spec
|
@ -19,7 +19,7 @@ License: GPL-2.0+
|
|||
Release: 0%{?dist}
|
||||
%else
|
||||
License: GPLv2+
|
||||
Release: %autorelease
|
||||
Release: 1.0.riscv64%{?dist}
|
||||
%endif
|
||||
BuildRequires: autoconf
|
||||
BuildRequires: automake
|
||||
|
@ -49,11 +49,13 @@ BuildRequires: python3-libmount
|
|||
BuildRequires: make
|
||||
BuildRequires: glibc-static
|
||||
BuildRequires: protobuf-c-devel
|
||||
%ifnarch %ix86
|
||||
%ifnarch %ix86 riscv64
|
||||
BuildRequires: criu-devel >= 3.17.1-2
|
||||
%endif
|
||||
%endif
|
||||
%ifnarch riscv64
|
||||
Requires: criu >= 3.17.1-2
|
||||
%endif
|
||||
Provides: oci-runtime
|
||||
|
||||
%description
|
||||
|
@ -65,11 +67,14 @@ Provides: oci-runtime
|
|||
%build
|
||||
./autogen.sh
|
||||
|
||||
%configure \
|
||||
%if "%{krun_support}" == "enabled"
|
||||
%configure --disable-silent-rules --with-libkrun
|
||||
%else
|
||||
%configure --disable-silent-rules
|
||||
--with-libkrun \
|
||||
%endif
|
||||
%ifarch riscv64
|
||||
--disable-criu \
|
||||
%endif
|
||||
--disable-silent-rules
|
||||
|
||||
%make_build
|
||||
|
||||
|
@ -90,6 +95,3 @@ ln -s %{_bindir}/%{name} %{buildroot}%{_bindir}/krun
|
|||
%{_mandir}/man1/*
|
||||
|
||||
%changelog
|
||||
%if "%{_vendor}" != "debbuild"
|
||||
%autochangelog
|
||||
%endif
|
||||
|
|
Loading…
Reference in New Issue