From 62464abf33321c34a2fa11fa110a21a8158be88e Mon Sep 17 00:00:00 2001 From: "Benjamin A. Beasley" Date: Mon, 17 May 2021 14:35:51 -0400 Subject: [PATCH] Add EPEL7 compatibility --- libinstpatch.spec | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/libinstpatch.spec b/libinstpatch.spec index f41c6ca..b664aca 100644 --- a/libinstpatch.spec +++ b/libinstpatch.spec @@ -16,7 +16,7 @@ Name: libinstpatch Version: 1.1.6 %global api_version 1.0 %global so_version 2 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Instrument file software library URL: http://www.swamiproject.org/ @@ -34,7 +34,14 @@ License: LGPLv2 and Public Domain %global forgeurl https://github.com/swami/%{name}/ Source0: %{forgeurl}/archive/v%{version}/%{name}-%{version}.tar.gz -BuildRequires: cmake +%if 0%{?el7} +%global cmake %cmake3 +%global cmake_build %cmake3_build +%global cmake_install %cmake3_install +%global ctest %ctest3 +%endif + +BuildRequires: cmake%{?el7:3} BuildRequires: gcc BuildRequires: ninja-build @@ -125,6 +132,9 @@ find examples -type f -name '*.py' -print -delete %changelog +* Mon May 17 2021 Benjamin A. Beasley - 1.1.6-2 +- Add EPEL7 compatibility + * Fri Apr 16 2021 Benjamin A. Beasley - 1.1.6-1 - New upstream version 1.1.6 with so-version bump from 0 to 2 and altered include path