adapt for SCL
This commit is contained in:
parent
3f0c2476c4
commit
6459e4dd18
@ -6,8 +6,13 @@
|
|||||||
#
|
#
|
||||||
# Please, preserve the changelog entries
|
# Please, preserve the changelog entries
|
||||||
#
|
#
|
||||||
%{?scl:%scl_package php-pecl-apcu}
|
%if 0%{?scl:1}
|
||||||
%{!?scl:%global pkg_name %{name}}
|
%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_inidir: %{expand: %%global php_inidir %{_sysconfdir}/php.d}}
|
||||||
%{!?php_incldir: %{expand: %%global php_incldir %{_includedir}/php}}
|
%{!?php_incldir: %{expand: %%global php_incldir %{_includedir}/php}}
|
||||||
%{!?__pecl: %{expand: %%global __pecl %{_bindir}/pecl}}
|
%{!?__pecl: %{expand: %%global __pecl %{_bindir}/pecl}}
|
||||||
|
Loading…
Reference in New Issue
Block a user