diff --git a/php-pecl-raphf.spec b/php-pecl-raphf.spec index dcfa6ec..a7f8517 100644 --- a/php-pecl-raphf.spec +++ b/php-pecl-raphf.spec @@ -25,7 +25,7 @@ Summary: Resource and persistent handles factory Name: php-pecl-%{pecl_name} Version: 1.1.2 -Release: 1%{?dist} +Release: 2%{?dist} License: BSD Group: Development/Languages URL: http://pecl.php.net/package/%{pecl_name} @@ -37,8 +37,10 @@ BuildRequires: php-pear BuildRequires: php-pecl-http >= 2.0.0 %endif +%if 0%{?fedora} < 24 Requires(post): %{__pecl} Requires(postun): %{__pecl} +%endif Requires: php(zend-abi) = %{php_zend_api} Requires: php(api) = %{php_core_api} @@ -139,6 +141,7 @@ do install -Dpm 644 NTS/$i %{buildroot}%{pecl_docdir}/%{pecl_name}/$i done +%if 0%{?fedora} < 24 %post %{pecl_install} %{pecl_xmldir}/%{name}.xml >/dev/null || : @@ -147,6 +150,7 @@ done if [ $1 -eq 0 ] ; then %{pecl_uninstall} %{pecl_name} >/dev/null || : fi +%endif %check @@ -212,6 +216,9 @@ REPORT_EXIT_STATUS=1 \ %changelog +* Mon Jan 25 2016 Remi Collet - 1.1.2-2 +- drop scriptlets and dependency on php-pecl + * Tue Jan 19 2016 Remi Collet - 1.1.2-1 - Update to 1.1.2 (stable)