summaryrefslogtreecommitdiffstats
path: root/php-pecl-fann.spec
diff options
context:
space:
mode:
Diffstat (limited to 'php-pecl-fann.spec')
-rw-r--r--php-pecl-fann.spec12
1 files changed, 9 insertions, 3 deletions
diff --git a/php-pecl-fann.spec b/php-pecl-fann.spec
index df63f3a..27d8cfb 100644
--- a/php-pecl-fann.spec
+++ b/php-pecl-fann.spec
@@ -15,10 +15,9 @@
%else
%global sub_prefix %{scl_prefix}
%endif
+%scl_package php-pecl-fann
%endif
-%{?scl: %scl_package php-pecl-fann}
-
%global with_zts 0%{!?_without_zts:%{?__ztsphp:1}}
%global pecl_name fann
%global with_tests %{?_without_tests:0}%{!?_without_tests:1}
@@ -31,7 +30,7 @@
Summary: Wrapper for FANN Library
Name: %{?sub_prefix}php-pecl-%{pecl_name}
-Version: 1.1.0
+Version: 1.1.1
Release: 1%{?dist}%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}
License: PHP
Group: Development/Languages
@@ -73,6 +72,10 @@ Obsoletes: php56w-pecl-%{pecl_name} <= %{version}
Obsoletes: php70u-pecl-%{pecl_name} <= %{version}
Obsoletes: php70w-pecl-%{pecl_name} <= %{version}
%endif
+%if "%{php_version}" > "7.1"
+Obsoletes: php71u-pecl-%{pecl_name} <= %{version}
+Obsoletes: php71w-pecl-%{pecl_name} <= %{version}
+%endif
%endif
%if 0%{?fedora} < 20 && 0%{?rhel} < 7
@@ -227,6 +230,9 @@ fi
%changelog
+* Sun Jun 26 2016 Remi Collet <remi@fedoraproject.org> - 1.1.1-1
+- update to 1.1.1
+
* Thu Mar 31 2016 Remi Collet <remi@fedoraproject.org> - 1.1.0-1
- update to 1.1.0 (stable, no change since RC2)