summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2016-01-26 18:20:23 +0100
committerRemi Collet <fedora@famillecollet.com>2016-01-26 18:20:23 +0100
commitcd955af57a7de7bdd35837cb26289395cd674dd1 (patch)
tree1717011702fe5b6119e1ac8e0374f7472296288d
parentdaa18aadded16837f06d950ca30f201dfb335431 (diff)
php-pecl-mysql: missing dep on mysqlnd
-rw-r--r--php-pecl-mysql.spec12
1 files changed, 10 insertions, 2 deletions
diff --git a/php-pecl-mysql.spec b/php-pecl-mysql.spec
index 0ea2281..f55b083 100644
--- a/php-pecl-mysql.spec
+++ b/php-pecl-mysql.spec
@@ -32,7 +32,7 @@ Summary: MySQL database access functions
Name: %{?sub_prefix}php-pecl-%{pecl_name}
Version: 1.0.0
%if 0%{?gh_date:1}
-Release: 0.8.%{gh_date}git%{gh_short}%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}}
+Release: 0.9.%{gh_date}git%{gh_short}%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}}
%else
Release: 2%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}}
%endif
@@ -50,6 +50,7 @@ BuildRequires: %{?scl_prefix}php-pear
Requires: %{?scl_prefix}php(zend-abi) = %{php_zend_api}
Requires: %{?scl_prefix}php(api) = %{php_core_api}
+Requires: %{?scl_prefix}php-mysqlnd%{?_isa}
%{?_sclreq:Requires: %{?scl_prefix}runtime%{?_sclreq}%{?_isa}}
# Set epoch so provides is > 0:7.0.0 (obsoleted by php-mysqlnd)
@@ -57,6 +58,8 @@ Provides: %{?scl_prefix}php-%{pecl_name} = 1:%{version}
Provides: %{?scl_prefix}php-%{pecl_name}%{?_isa} = 1:%{version}
Provides: %{?scl_prefix}php-pecl(%{pecl_name}) = %{version}
Provides: %{?scl_prefix}php-pecl(%{pecl_name})%{?_isa} = %{version}
+Provides: %{?scl_prefix}php-pecl-%{pecl_name} = %{version}-%{release}
+Provides: %{?scl_prefix}php-pecl-%{pecl_name}%{?_isa} = %{version}-%{release}
%if "%{?vendor}" == "Remi Collet" && 0%{!?scl:1}
# Other third party repo stuff
@@ -95,7 +98,9 @@ mv %{gh_project}-%{gh_commit} NTS
'
# Don't install (register) the tests
-sed -e 's/role="test"/role="src"/' -i package.xml
+sed -e 's/role="test"/role="src"/' \
+ %{?_licensedir:-e '/LICENSE/s/role="doc"/role="src"/' } \
+ -i package.xml
cd NTS
# Check version as upstream often forget to update this
@@ -214,6 +219,9 @@ rm -rf %{buildroot}
%changelog
+* Tue Jan 26 2016 Remi Collet <remi@fedoraproject.org> - 1.0.0-0.9.20150628git3c79a97
+- missing dep on php-mysqlnd
+
* Sun Jan 10 2016 Remi Collet <remi@fedoraproject.org> - 1.0.0-0.8.20150628git3c79a97
- set stability=devel in package.xml