From 7e9150e88a55a80bc3c9d4cf29082f3062c59b3d Mon Sep 17 00:00:00 2001 From: Panu Matilainen Date: Fri, 29 Sep 2017 11:31:49 +0300 Subject: [PATCH] ima-evm-utils only has a -devel package in fedora >= 28 --- rpm.spec | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/rpm.spec b/rpm.spec index 9f2fd62..e188f41 100644 --- a/rpm.spec +++ b/rpm.spec @@ -37,7 +37,7 @@ Summary: The RPM package management system Name: rpm Version: %{rpmver} -Release: %{?snapver:0.%{snapver}.}1%{?dist} +Release: %{?snapver:0.%{snapver}.}2%{?dist} Group: System Environment/Base Url: http://www.rpm.org/ Source0: http://ftp.rpm.org/releases/%{srcdir}/%{name}-%{srcver}.tar.bz2 @@ -136,7 +136,12 @@ BuildRequires: libubsan %endif %if %{with libimaevm} -BuildRequires: ima-evm-utils-devel >= 1.0 +%if 0%{?fedora} >= 28 +%global imadevname ima-evm-utils-devel +%else +%global imadevname ima-evm-utils +%endif +BuildRequires: %{imadevname} >= 1.0 %endif %description @@ -627,6 +632,9 @@ make check %doc doc/librpm/html/* %changelog +* Fri Sep 29 2017 Panu Matilainen - 4.14.0-0.rc2.2 +- ima-evm-utils only has a -devel package in fedora >= 28 + * Thu Sep 28 2017 Panu Matilainen - 4.14.0-0.rc2.1 - Rebase to rpm 4.14.0-rc2 (http://rpm.org/wiki/Releases/4.14.0)