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