From 955fc716940ade4fffb1ee52f1f74c3478aaf614 Mon Sep 17 00:00:00 2001
From: Remi Collet <remi@remirepo.net>
Date: Thu, 24 Aug 2017 08:20:44 +0200
Subject: add F27 workaround to https://bugzilla.redhat.com/1484370

---
 php-ioncube-loader.spec | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/php-ioncube-loader.spec b/php-ioncube-loader.spec
index e028b73..18a59ae 100644
--- a/php-ioncube-loader.spec
+++ b/php-ioncube-loader.spec
@@ -10,6 +10,9 @@
 %global extname       ioncube_loader
 %global debug_package %{nil}
 %global __debug_install_post /bin/true
+%if 0%{?fedora} >= 27
+%global _build_id_links none
+%endif
 %global with_zts      0%{?__ztsphp:1}
 %if "%{php_version}" < "5.6"
 %global ininame       %{extname}.ini
@@ -26,7 +29,7 @@
 Name:          %{?scl_prefix}php-ioncube-loader
 Summary:       Loader for ionCube Encoded Files with ionCube 24 support
 Version:       10.0.0
-Release:       1%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}}
+Release:       2%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}}
 License:       Distribuable
 Group:         Development/Languages
 
@@ -183,6 +186,9 @@ install -D -m 644  %{extname}.zts                      %{buildroot}%{php_ztsinid
 
 
 %changelog
+* Thu Aug 24 2017 Remi Collet <remi@remirepo.net> - 10.0.0-2
+- add F27 workaround to https://bugzilla.redhat.com/1484370
+
 * Thu Aug  3 2017 Remi Collet <remi@remirepo.net> - 10.0.0-1
 - update to 10.0.0 (Aug 2, 2017)
 
-- 
cgit