summaryrefslogtreecommitdiffstats
path: root/php-pecl-trader.spec
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2018-02-12 06:09:37 +0100
committerRemi Collet <remi@remirepo.net>2018-02-12 06:09:37 +0100
commit2f1b070f3964bf1a91c8541e6bab41d83fe0e62e (patch)
tree397127ecdd089b5d96f49af51f1a3e3d326bd422 /php-pecl-trader.spec
parent8cd41f736eb1d7fdad1a6ade380b0fba098970b2 (diff)
v0.4.1
Diffstat (limited to 'php-pecl-trader.spec')
-rw-r--r--php-pecl-trader.spec34
1 files changed, 14 insertions, 20 deletions
diff --git a/php-pecl-trader.spec b/php-pecl-trader.spec
index 083e6f6..df3d903 100644
--- a/php-pecl-trader.spec
+++ b/php-pecl-trader.spec
@@ -1,11 +1,15 @@
# spec file for php-pecl-gender
#
-# Copyright (c) 2015-2017 Remi Collet
+# Copyright (c) 2015-2018 Remi Collet
# License: CC-BY-SA
# http://creativecommons.org/licenses/by-sa/4.0/
#
# 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-trader
@@ -24,16 +28,14 @@
Summary: Technical Analysis for traders
Name: %{?sub_prefix}php-pecl-%{pecl_name}
-Version: 0.4.0
-Release: 6%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}}
+Version: 0.4.1
+Release: 1%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}}
# PHP ext is BSD-2, ta-lib is BSD-3
License: BSD
-Group: Development/Languages
URL: http://pecl.php.net/package/%{pecl_name}
Source0: http://pecl.php.net/get/%{pecl_name}-%{version}.tgz
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-BuildRequires: %{?scl_prefix}php-devel > 5.3
+BuildRequires: %{?scl_prefix}php-devel
BuildRequires: %{?scl_prefix}php-pear
Requires: %{?scl_prefix}php(zend-abi) = %{php_zend_api}
@@ -50,14 +52,6 @@ Provides: %{?scl_prefix}php-pecl-%{pecl_name}%{?_isa} = %{version}-%{rele
%if "%{?vendor}" == "Remi Collet" && 0%{!?scl:1} && 0%{?rhel}
# Other third party repo stuff
-Obsoletes: php53-pecl-%{pecl_name} <= %{version}
-Obsoletes: php53u-pecl-%{pecl_name} <= %{version}
-Obsoletes: php54-pecl-%{pecl_name} <= %{version}
-Obsoletes: php54w-pecl-%{pecl_name} <= %{version}
-%if "%{php_version}" > "5.5"
-Obsoletes: php55u-pecl-%{pecl_name} <= %{version}
-Obsoletes: php55w-pecl-%{pecl_name} <= %{version}
-%endif
%if "%{php_version}" > "5.6"
Obsoletes: php56u-pecl-%{pecl_name} <= %{version}
Obsoletes: php56w-pecl-%{pecl_name} <= %{version}
@@ -125,6 +119,8 @@ EOF
%build
+%{?dtsenable}
+
cd NTS
%{_bindir}/phpize
%configure \
@@ -143,7 +139,7 @@ make %{?_smp_mflags}
%install
-rm -rf %{buildroot}
+%{?dtsenable}
make -C NTS install INSTALL_ROOT=%{buildroot}
@@ -219,12 +215,7 @@ REPORT_EXIT_STATUS=1 \
%endif
-%clean
-rm -rf %{buildroot}
-
-
%files
-%defattr(-,root,root,-)
%doc %{pecl_docdir}/%{pecl_name}
%{?_licensedir:%license NTS/LICENSE}
@@ -239,6 +230,9 @@ rm -rf %{buildroot}
%changelog
+* Mon Feb 12 2018 Remi Collet <remi@remirepo.net> - 0.4.1-1
+- Update to 0.4.1
+
* Tue Jul 18 2017 Remi Collet <remi@remirepo.net> - 0.4.0-6
- rebuild for PHP 7.2.0beta1 new API