summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2019-04-05 10:23:41 +0200
committerRemi Collet <remi@remirepo.net>2019-04-05 10:23:41 +0200
commit0a58f5b5502636ced3aadbd633efc27fd8ba1422 (patch)
treeed880f79f450a692294a32a90129b26771cca5f1
parent2ea1f9100cfeeb0abae87ce695ab7279e8173a4d (diff)
build with system oniguruma5
-rw-r--r--php.spec7
1 files changed, 2 insertions, 5 deletions
diff --git a/php.spec b/php.spec
index 15628ea..d50b2ac 100644
--- a/php.spec
+++ b/php.spec
@@ -87,11 +87,7 @@
%else
%global with_libpcre 0
%endif
-%if 0%{?fedora} >= 26
%global with_onig 1
-%else
-%global with_onig 0
-%endif
%if 0%{?__isa_bits:1}
%global isasuffix -%{__isa_bits}
@@ -700,7 +696,8 @@ Group: Development/Languages
# ucgendat is licensed under OpenLDAP
License: PHP and LGPLv2 and BSD and OpenLDAP
%if %{with_onig}
-BuildRequires: oniguruma-devel
+# ensure we have soname 5
+BuildRequires: oniguruma-devel >= 6.8
%else
Provides: bundled(oniguruma) = 6.3.0
%endif