|
|
|
@ -45,11 +45,11 @@ APCu only supports userland caching of variables.
@@ -45,11 +45,11 @@ APCu only supports userland caching of variables.
|
|
|
|
|
%package devel |
|
|
|
|
Summary: APCu developer files (header) |
|
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release} |
|
|
|
|
Requires: %{?scl_prefix}php-devel%{?_isa} |
|
|
|
|
Requires: php-devel%{?_isa} |
|
|
|
|
|
|
|
|
|
Obsoletes: %{?scl_prefix}php-pecl-apc-devel < 4 |
|
|
|
|
Provides: %{?scl_prefix}php-pecl-apc-devel = %{version}-%{release} |
|
|
|
|
Provides: %{?scl_prefix}php-pecl-apc-devel%{?_isa} = %{version}-%{release} |
|
|
|
|
Obsoletes: php-pecl-apc-devel < 4 |
|
|
|
|
Provides: php-pecl-apc-devel = %{version}-%{release} |
|
|
|
|
Provides: php-pecl-apc-devel%{?_isa} = %{version}-%{release} |
|
|
|
|
|
|
|
|
|
%description devel |
|
|
|
|
These are the files needed to compile programs using APCu. |
|
|
|
@ -89,14 +89,11 @@ mkdir NTS
@@ -89,14 +89,11 @@ mkdir NTS
|
|
|
|
|
mkdir ZTS |
|
|
|
|
%endif |
|
|
|
|
|
|
|
|
|
%if 0%{!?scl:1} |
|
|
|
|
# Fix path to configuration file |
|
|
|
|
sed -e s:apc.conf.php:%{_sysconfdir}/apcu-panel/conf.php:g \ |
|
|
|
|
-i %{sources}/apc.php |
|
|
|
|
%else |
|
|
|
|
# Provide the control panel as doc |
|
|
|
|
sed -e '/"apc.php"/s/role="src"/role="doc"/' -i package.xml |
|
|
|
|
%endif |
|
|
|
|
|
|
|
|
|
%build |
|
|
|
|
%{?dtsenable} |
|
|
|
|