adapt for SCL

This commit is contained in:
Remi Collet 2013-07-15 16:46:40 +02:00
parent 3f0c2476c4
commit 6459e4dd18

View File

@ -6,8 +6,13 @@
#
# Please, preserve the changelog entries
#
%{?scl:%scl_package php-pecl-apcu}
%{!?scl:%global pkg_name %{name}}
%if 0%{?scl:1}
%scl_package php-pecl-apcu
%else
%global pkg_name %{name}
%global _root_sysconfdir %{_sysconfdir}
%endif
%{!?php_inidir: %{expand: %%global php_inidir %{_sysconfdir}/php.d}}
%{!?php_incldir: %{expand: %%global php_incldir %{_includedir}/php}}
%{!?__pecl: %{expand: %%global __pecl %{_bindir}/pecl}}