diff options
author | Remi Collet <fedora@famillecollet.com> | 2014-03-18 19:55:01 +0100 |
---|---|---|
committer | Remi Collet <fedora@famillecollet.com> | 2014-03-18 19:55:01 +0100 |
commit | 1e510d60b43d1713d3e4e28499b570e1836f8216 (patch) | |
tree | 2791c5bae662817e3cca8c2712273602abb74c5e | |
parent | a1b5e5311d1efd0eea6e01969f563aff54094eae (diff) |
php-pecl-krb5: minoir fix for SCL
-rw-r--r-- | php-pecl-krb5.spec | 5 |
1 files 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 |