summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2019-04-05 10:23:26 +0200
committerRemi Collet <remi@remirepo.net>2019-04-05 10:23:26 +0200
commit6f7076fc6494aff9aae204ef75850e4f813dbcc7 (patch)
treec17774752fd968ea970acd6e40c803a91b236cfd
parentb5ee4ed8dd726a16e09b963c84d6127453d42cbb (diff)
build with system oniguruma5
-rw-r--r--php72.spec7
1 files changed, 2 insertions, 5 deletions
diff --git a/php72.spec b/php72.spec
index b71153e..0840cb2 100644
--- a/php72.spec
+++ b/php72.spec
@@ -50,11 +50,7 @@
%else
%global with_libpcre 0
%endif
-%if 0%{?fedora} >= 26
%global with_onig 1
-%else
-%global with_onig 0
-%endif
%global with_sqlite3 1
@@ -791,7 +787,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