diff options
author | Remi Collet <fedora@famillecollet.com> | 2014-10-17 11:46:36 +0200 |
---|---|---|
committer | Remi Collet <fedora@famillecollet.com> | 2014-10-17 11:46:36 +0200 |
commit | baefef95173b4f80021a19bf330cab22739c2b90 (patch) | |
tree | 55387b93da5163dfe7a2ad75f874dbc10307b43c /php-pecl-pq.spec | |
parent | bb75ebe835d36b8d2f2572345c1c0f1a0955850d (diff) |
php-pecl-pq: 0.5.2 + upstream patch
Diffstat (limited to 'php-pecl-pq.spec')
-rw-r--r-- | php-pecl-pq.spec | 12 |
1 files changed, 10 insertions, 2 deletions
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 <remi@fedoraproject.org> - 0.5.2-1 +- Update to 0.5.2 + * Thu Oct 16 2014 Remi Collet <remi@fedoraproject.org> - 0.5.1-1 - initial package, version 0.5.1 (beta)
\ No newline at end of file |