From 1a56a32a1cbd134af78922f75df3f577c33a04fc Mon Sep 17 00:00:00 2001 From: Toshaan Bharvani Date: Mon, 2 Dec 2024 15:56:17 +0100 Subject: [PATCH] remove scl Signed-off-by: Toshaan Bharvani --- SPECS/php-pecl-apcu.spec | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/SPECS/php-pecl-apcu.spec b/SPECS/php-pecl-apcu.spec index 15a488c..8e97ac6 100644 --- a/SPECS/php-pecl-apcu.spec +++ b/SPECS/php-pecl-apcu.spec @@ -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 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}