summaryrefslogtreecommitdiffstats
path: root/libevent-last.spec
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2015-06-21 10:09:07 +0200
committerRemi Collet <fedora@famillecollet.com>2015-06-21 10:09:07 +0200
commit442d68756ab6f4b3c95a93d8a158bb08a717de8b (patch)
treeb3b43863158f02d4f15b3969802320dd716fd7d9 /libevent-last.spec
parentd720dc253aa9fe796c867c908254e4f1f715347b (diff)
libevent-last: allow build against "rh-php56" (for more-php56)HEADmaster
Diffstat (limited to 'libevent-last.spec')
-rw-r--r--libevent-last.spec34
1 files 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 <remi@fedoraproject.org> - 2.0.22-2
+- allow build against rh-php56 (as more-php56)
+
* Wed Apr 15 2015 Remi Collet <remi@fedoraproject.org> - 2.0.22-1
- Update to 2.0.22