From baefef95173b4f80021a19bf330cab22739c2b90 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Fri, 17 Oct 2014 11:46:36 +0200 Subject: php-pecl-pq: 0.5.2 + upstream patch --- php-pecl-pq.spec | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'php-pecl-pq.spec') diff --git a/php-pecl-pq.spec b/php-pecl-pq.spec index a73a4f8..1efc309 100644 --- a/php-pecl-pq.spec +++ b/php-pecl-pq.spec @@ -25,15 +25,18 @@ Summary: PostgreSQL client library (libpq) binding Name: %{?scl_prefix}php-pecl-%{pecl_name} -Version: 0.5.1 +Version: 0.5.2 Release: 1%{?dist}%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')} License: BSD Group: Development/Languages URL: http://pecl.php.net/package/%{pecl_name} Source0: http://pecl.php.net/get/%{pecl_name}-%{version}.tgz +# Upstream patches +Patch0: %{pecl_name}-upstream.patch + BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) -BuildRequires: postgresql-devel +BuildRequires: postgresql-devel > 9 BuildRequires: %{?scl_prefix}php-devel > 5.2 BuildRequires: %{?scl_prefix}php-pear BuildRequires: %{?scl_prefix}php-json @@ -97,6 +100,8 @@ mv %{pecl_name}-%{version} NTS sed -e '/role="test"/d' -i package.xml cd NTS +%patch0 -p1 -b .upstream + # Sanity check, really often broken extver=$(sed -n '/#define PHP_PQ_VERSION/{s/.* "//;s/".*$//;p}' php_pq.h) if test "x${extver}" != "x%{version}"; then @@ -224,5 +229,8 @@ rm -rf %{buildroot} %changelog +* Fri Oct 17 2014 Remi Collet - 0.5.2-1 +- Update to 0.5.2 + * Thu Oct 16 2014 Remi Collet - 0.5.1-1 - initial package, version 0.5.1 (beta) \ No newline at end of file -- cgit