summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2017-07-07 11:03:10 +0200
committerRemi Collet <remi@remirepo.net>2017-07-07 11:03:10 +0200
commit4761d52bab61256cf00b29ba29597077c58a8a74 (patch)
treef341532a971ae8ac8fa9d0324cc5426006bdd787
parent965e84cff491f1afa27c9187366003e1c1c40998 (diff)
drop .so extension for configuration file
-rw-r--r--php-pecl-mcrypt.spec12
1 files 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 <remi@remirepo.net> - 1.0.1-3
+- drop .so extension for configuration file
+
* Wed Jun 21 2017 Remi Collet <remi@remirepo.net> - 1.0.1-2
- rebuild for 7.2.0alpha2