From 4761d52bab61256cf00b29ba29597077c58a8a74 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Fri, 7 Jul 2017 11:03:10 +0200 Subject: drop .so extension for configuration file --- php-pecl-mcrypt.spec | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/php-pecl-mcrypt.spec b/php-pecl-mcrypt.spec index b896404..d591f19 100644 --- a/php-pecl-mcrypt.spec +++ b/php-pecl-mcrypt.spec @@ -15,7 +15,7 @@ Summary: Bindings for the libmcrypt library Name: %{?scl_prefix}php-pecl-mcrypt Version: 1.0.1 -Release: 2%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} +Release: 3%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} License: PHP Group: Development/Languages URL: http://pecl.php.net/package/mcrypt @@ -79,7 +79,7 @@ cd .. : Create the configuration file cat >%{ini_name} << 'EOF' ; Enable %{pecl_name} extension module -extension=%{pecl_name}.so +extension=%{pecl_name} EOF %if %{with_zts} @@ -141,7 +141,8 @@ rm ?TS/tests/bug8040.phpt cd NTS : minimal load test of NTS extension %{_bindir}/php --no-php-ini \ - --define extension=%{buildroot}%{php_extdir}/%{pecl_name}.so \ + --define extension_dir=modules \ + --define extension=%{pecl_name} \ --modules | grep %{pecl_name} : upstream test suite for NTS extension @@ -152,7 +153,7 @@ cd ../ZTS : minimal load test of ZTS extension %{_bindir}/zts-php --no-php-ini \ --define extension_dir=modules \ - --define extension=%{buildroot}%{php_ztsextdir}/%{pecl_name}.so \ + --define extension=%{pecl_name} \ --modules | grep %{pecl_name} : upstream test suite for ZTS extension @@ -195,6 +196,9 @@ fi %changelog +* Fri Jul 7 2017 Remi Collet - 1.0.1-3 +- drop .so extension for configuration file + * Wed Jun 21 2017 Remi Collet - 1.0.1-2 - rebuild for 7.2.0alpha2 -- cgit