diff --git a/php-pecl-gearman.spec b/php-pecl-gearman.spec index 4b5b859..4c95d4b 100644 --- a/php-pecl-gearman.spec +++ b/php-pecl-gearman.spec @@ -12,7 +12,7 @@ Name: php-pecl-gearman Version: 1.1.2 -Release: 3%{?dist} +Release: 4%{?dist} Summary: PHP wrapper to libgearman Group: Development/Tools @@ -28,8 +28,10 @@ BuildRequires: autoconf, automake, libtool Requires: php(zend-abi) = %{php_zend_api} Requires: php(api) = %{php_core_api} +%if 0%{?fedora} < 24 Requires(post): %{__pecl} Requires(postun): %{__pecl} +%endif Provides: php-%{pecl_name} = %{version} Provides: php-%{pecl_name}%{?_isa} = %{version} @@ -123,6 +125,7 @@ done %endif +%if 0%{?fedora} < 24 %post %{pecl_install} %{pecl_xmldir}/%{name}.xml >/dev/null || : @@ -130,6 +133,7 @@ done if [ $1 -eq 0 ] ; then %{pecl_uninstall} %{pecl_name} >/dev/null || : fi +%endif %files @@ -147,6 +151,9 @@ fi %changelog +* Wed Feb 10 2016 Remi Collet - 1.1.2-4 +- F24: drop scriptlets (replaced by file triggers in php-pear) + * Thu Feb 04 2016 Fedora Release Engineering - 1.1.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild