From 442d68756ab6f4b3c95a93d8a158bb08a717de8b Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Sun, 21 Jun 2015 10:09:07 +0200 Subject: libevent-last: allow build against "rh-php56" (for more-php56) --- libevent-last.spec | 34 +++++++++++++++++++++++++++++----- 1 file changed, 29 insertions(+), 5 deletions(-) diff --git a/libevent-last.spec b/libevent-last.spec index cf32995..69c202e 100644 --- a/libevent-last.spec +++ b/libevent-last.spec @@ -1,3 +1,13 @@ +# remirepo spec file for libevent-last +# renamed for parallel installation, from: +# +# Fedora spec file for libevent +# +# License: MIT +# http://opensource.org/licenses/MIT +# +# Please preserve changelog entries +# %{?scl: %scl_package %{libname}} %if 0%{?fedora} && 0%{?fedora} >= 20 @@ -24,14 +34,25 @@ Name: %{libname} %global with_conflicts 0 %else -# Build for parallel install -%{?scl:Name: %{scl_prefix}%{libname}} -%{!?scl:Name: %{libname}-last} -%global with_conflicts 0%{!?scl:1} +# Build for parallel install - SCL +%if 0%{?scl:1} +%if "%{scl}" == "rh-php56" +%global sub_prefix more-php56- +%else +%global sub_prefix %{scl_prefix} +%endif +Name: %{sub_prefix}%{libname} +%global with_conflicts 0 + +%else +# Build for parallel install - last +Name: %{libname}-last +%global with_conflicts 1 +%endif %endif Version: 2.0.22 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Abstract asynchronous event notification library Group: System Environment/Libraries @@ -186,6 +207,9 @@ make check %changelog +* Fri Jun 19 2015 Remi Collet - 2.0.22-2 +- allow build against rh-php56 (as more-php56) + * Wed Apr 15 2015 Remi Collet - 2.0.22-1 - Update to 2.0.22 -- cgit