diff options
Diffstat (limited to 'php-pecl-dbase.spec')
-rw-r--r-- | php-pecl-dbase.spec | 17 |
1 files changed, 14 insertions, 3 deletions
diff --git a/php-pecl-dbase.spec b/php-pecl-dbase.spec index 38b786b..d0da40a 100644 --- a/php-pecl-dbase.spec +++ b/php-pecl-dbase.spec @@ -6,13 +6,16 @@ # # Please, preserve the changelog entries # + +# we don't want -z defs linker flag +%undefine _strict_symbol_defs_build + %if 0%{?scl:1} %global sub_prefix %{scl_prefix} %scl_package php-pecl-dbase %endif - -%global with_zts 0%{?__ztsphp:1} +%global with_zts 0%{!?_without_zts:%{?__ztsphp:1}} %global pecl_name dbase %global prever beta1 %global ini_name 40-%{pecl_name}.ini @@ -21,7 +24,7 @@ Summary: dBase database file access functions Name: %{?sub_prefix}php-pecl-dbase Version: 7.0.0 -Release: 0.3.%{prever}%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} +Release: 0.4.%{prever}%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} License: PHP URL: http://pecl.php.net/package/%{pecl_name} Source0: http://pecl.php.net/get/%{pecl_name}-%{version}%{?prever}.tgz @@ -29,6 +32,7 @@ Source0: http://pecl.php.net/get/%{pecl_name}-%{version}%{?prever}.tgz # see http://svn.php.net/viewvc?view=revision&revision=340710 Source1: http://pecl.php.net/get/%{pecl_name}-tests-%{version}.tgz +BuildRequires: %{?dtsprefix}gcc BuildRequires: %{?scl_prefix}php-devel > 7 BuildRequires: %{?scl_prefix}php-pear @@ -123,6 +127,8 @@ EOF %build +%{?dtsenable} + cd NTS %{_bindir}/phpize %configure \ @@ -143,6 +149,8 @@ make %{?_smp_mflags} %install +%{?dtsenable} + make -C NTS install INSTALL_ROOT=%{buildroot} # install config file @@ -232,6 +240,9 @@ REPORT_EXIT_STATUS=1 \ %changelog +* Tue Jun 26 2018 Remi Collet <remi@remirepo.net> - 7.0.0-0.4.beta1.7.0 +- cleanup and rebuild + * Tue Jul 18 2017 Remi Collet <remi@remirepo.net> - 7.0.0-0.3.beta1.7.0 - rebuild for PHP 7.2.0beta1 new API |