Browse Source

remove scl

Signed-off-by: Toshaan Bharvani <toshaan@powerel.org>
master
Toshaan Bharvani 3 weeks ago
parent
commit
1a56a32a1c
  1. 11
      SPECS/php-pecl-apcu.spec

11
SPECS/php-pecl-apcu.spec

@ -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}

Loading…
Cancel
Save