From 3812ad8c70e53253fcbb4ce8b5f5062bc36116e8 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 4 May 2016 07:24:28 +0200 Subject: php-pecl-pq: 1.0.1 (php 5, stable) --- php-pecl-pq.spec | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'php-pecl-pq.spec') diff --git a/php-pecl-pq.spec b/php-pecl-pq.spec index 418e8f1..ddc2dd7 100644 --- a/php-pecl-pq.spec +++ b/php-pecl-pq.spec @@ -12,10 +12,9 @@ %else %global sub_prefix %{scl_prefix} %endif +%scl_package php-pecl-pq %endif -%{?scl: %scl_package php-pecl-pq} - %global with_zts 0%{?__ztsphp:1} %global pecl_name pq #global rcver RC1 @@ -36,11 +35,11 @@ Summary: PostgreSQL client library (libpq) binding Name: %{?sub_prefix}php-pecl-%{pecl_name} -Version: 1.0.0 +Version: 1.0.1 %if 0%{?rcver:1} Release: 0.1.%{rcver}%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} %else -Release: 3%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} +Release: 1%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} %endif License: BSD Group: Development/Languages @@ -68,8 +67,10 @@ Provides: %{?scl_prefix}php-%{pecl_name} = %{version} Provides: %{?scl_prefix}php-%{pecl_name}%{?_isa} = %{version} Provides: %{?scl_prefix}php-pecl(%{pecl_name}) = %{version} Provides: %{?scl_prefix}php-pecl(%{pecl_name})%{?_isa} = %{version} +%if "%{?scl_prefix}" != "%{?sub_prefix}" Provides: %{?scl_prefix}php-pecl-%{pecl_name} = %{version}-%{release} Provides: %{?scl_prefix}php-pecl-%{pecl_name}%{?_isa} = %{version}-%{release} +%endif %if "%{?vendor}" == "Remi Collet" && 0%{!?scl:1} # Other third party repo stuff @@ -289,6 +290,9 @@ rm -rf %{buildroot} %changelog +* Wed May 4 2016 Remi Collet - 1.0.1-1 +- update to 1.0.1 (php 5, stable) + * Tue Mar 8 2016 Remi Collet - 1.0.0-3 - adapt for F24 -- cgit