diff options
-rw-r--r-- | php-pecl-pq.spec | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/php-pecl-pq.spec b/php-pecl-pq.spec index f7a8dbf..3152942 100644 --- a/php-pecl-pq.spec +++ b/php-pecl-pq.spec @@ -35,7 +35,7 @@ Version: 2.1.4 Release: 0.8.%{gh_date}git%{gh_short}%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} Source0: https://github.com/%{gh_owner}/%{gh_project}/archive/%{gh_commit}/%{pecl_name}-%{version}-%{gh_short}.tar.gz %else -Release: 3%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} +Release: 4%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} Source0: http://pecl.php.net/get/%{pecl_name}-%{version}%{?prever}.tgz %endif License: BSD @@ -43,7 +43,11 @@ URL: http://pecl.php.net/package/%{pecl_name} Patch0: https://github.com/m6w6/ext-pq/commit/950b257a9376d4f83fd24a7afadeafaf31f8855a.patch +%if 0%{?fedora} >= 29 && 0%{?rhel} >= 8 +BuildRequires: libpq-devel > 9 +%else BuildRequires: postgresql-devel > 9 +%endif BuildRequires: %{?dtsprefix}gcc BuildRequires: %{?scl_prefix}php-devel > 7 BuildRequires: %{?scl_prefix}php-pear @@ -301,6 +305,9 @@ exit $RET %changelog +* Tue Dec 4 2018 Remi Collet <remi@remirepo.net> - 2.1.4-4 +- EL-8 build + * Thu Aug 16 2018 Remi Collet <remi@remirepo.net> - 2.1.4-3 - rebuild for 7.3.0beta2 new ABI |