From 1e510d60b43d1713d3e4e28499b570e1836f8216 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Tue, 18 Mar 2014 19:55:01 +0100 Subject: php-pecl-krb5: minoir fix for SCL --- php-pecl-krb5.spec | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/php-pecl-krb5.spec b/php-pecl-krb5.spec index 13ae93a..25c06db 100644 --- a/php-pecl-krb5.spec +++ b/php-pecl-krb5.spec @@ -7,6 +7,7 @@ # Please, preserve the changelog entries # %{?scl: %scl_package php-pecl-krb5} +%{!?scl: %global _root_includedir %{_includedir}} %{!?scl: %global _root_bindir %{_bindir}} %{!?php_inidir: %global php_inidir %{_sysconfdir}/php.d} %{!?php_incldir: %global php_incldir %{_includedir}/php} @@ -88,8 +89,8 @@ mv %{pecl_name}-%{version} NTS cd NTS # Workaroud for old libcom_err -if [ -f %{_includedir}/et/com_err.h ] -then cp %{_includedir}/et/com_err.h . +if [ -f %{_root_includedir}/et/com_err.h ] +then cp %{_root_includedir}/et/com_err.h . fi # Sanity check, really often broken -- cgit