diff options
-rw-r--r-- | php-pecl-pspell.spec | 23 |
1 files changed, 1 insertions, 22 deletions
diff --git a/php-pecl-pspell.spec b/php-pecl-pspell.spec index db2ca68..0c8238c 100644 --- a/php-pecl-pspell.spec +++ b/php-pecl-pspell.spec @@ -1,6 +1,6 @@ # remirepo spec file for php-pecl-pspell # -# Copyright (c) 2023 Remi Collet +# Copyright (c) 2023-2024 Remi Collet # License: CC-BY-SA-4.0 # http://creativecommons.org/licenses/by-sa/4.0/ # @@ -155,28 +155,7 @@ TEST_PHP_ARGS="-n -d extension=%{buildroot}%{php_ztsextdir}/%{pecl_name}.so" \ %endif -%if 0%{?fedora} < 24 && 0%{?rhel} < 8 -# when pear installed alone, after us -%triggerin -- %{?scl_prefix}php-pear -if [ -x %{__pecl} ] ; then - %{pecl_install} %{pecl_xmldir}/%{name}.xml >/dev/null || : -fi - -# posttrans as pear can be installed after us -%posttrans -if [ -x %{__pecl} ] ; then - %{pecl_install} %{pecl_xmldir}/%{name}.xml >/dev/null || : -fi - -%postun -if [ $1 -eq 0 -a -x %{__pecl} ] ; then - %{pecl_uninstall} %{pecl_name} >/dev/null || : -fi -%endif - - %files -%{?_licensedir:%license %{sources}/LICENSE} %doc %{pecl_docdir}/%{pecl_name} %{pecl_xmldir}/%{name}.xml |