summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2015-11-26 10:08:28 +0100
committerRemi Collet <fedora@famillecollet.com>2015-11-26 10:08:28 +0100
commitf3d14bd2b25fe0a482c7d78a6ebeeab523d04b2d (patch)
tree34e30367ff979e465ca2be8b5e88fbcb8c29e826
parent9f39198fe4c8af396eb5a254e5d962c5ab5374ed (diff)
php-pecl-cassandra: 1.0.1
-rw-r--r--php-pecl-cassandra.spec9
1 files changed, 8 insertions, 1 deletions
diff --git a/php-pecl-cassandra.spec b/php-pecl-cassandra.spec
index eeeb7a7..3c72936 100644
--- a/php-pecl-cassandra.spec
+++ b/php-pecl-cassandra.spec
@@ -34,9 +34,12 @@
%global ini_name 40-%{pecl_name}.ini
%endif
+# We don't really rely on upstream ABI
+%global buildver %(pkg-config --silence-errors --modversion cassandra 2>/dev/null || echo 65536)
+
Summary: DataStax PHP Driver for Apache Cassandra
Name: %{?sub_prefix}php-pecl-%{pecl_name}
-Version: 1.0.0
+Version: 1.0.1
Release: 1%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}}
License: ASL 2.0
Group: Development/Languages
@@ -56,6 +59,7 @@ BuildRequires: cassandra-cpp-driver-devel
BuildRequires: libuv-devel
BuildRequires: gmp-devel
+Requires: cassandra-cpp-driver-devel%{?_isa} >= %{buildver}
Requires: %{?scl_prefix}php(zend-abi) = %{php_zend_api}
Requires: %{?scl_prefix}php(api) = %{php_core_api}
%{?_sclreq:Requires: %{?scl_prefix}runtime%{?_sclreq}%{?_isa}}
@@ -243,6 +247,9 @@ REPORT_EXIT_STATUS=1 \
%changelog
+* Thu Nov 26 2015 Remi Collet <remi@fedoraproject.org> - 1.0.1-1
+- Update to 1.0.1
+
* Tue Sep 15 2015 Remi Collet <remi@fedoraproject.org> - 1.0.0-1
- update to 1.0.0 (stable)