From a7e95eda93bc1b43637a4cfad278e76ed7936891 Mon Sep 17 00:00:00 2001 From: Adrian Reber Date: Mon, 2 Oct 2017 14:39:58 +0200 Subject: [PATCH] fix perl BR on Fedora and RHEL --- criu.spec | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/criu.spec b/criu.spec index 5664bbb..e514ec2 100644 --- a/criu.spec +++ b/criu.spec @@ -17,6 +17,7 @@ Source0: http://download.openvz.org/criu/criu-%{version}.tar.bz2 Patch0: 0001-fix-building-on-newest-glibc-and-kernel.patch %if ! 0%{?fedora} +BuildRequires: perl # RHEL has no asciidoc; take man-page from Fedora 24 # zcat /usr/share/man/man8/criu.8.gz > criu.8 Source1: criu.8 @@ -31,9 +32,9 @@ Source3: criu-tmpfiles.conf BuildRequires: systemd BuildRequires: libnet-devel BuildRequires: protobuf-devel protobuf-c-devel python2-devel libnl3-devel libcap-devel -BuildRequires: perl-interpreter %if 0%{?fedora} BuildRequires: asciidoc xmlto +BuildRequires: perl-interpreter %endif # user-space and kernel changes are only available for x86_64, arm,