diff options
author | Remi Collet <remi@remirepo.net> | 2024-07-04 10:23:07 +0200 |
---|---|---|
committer | Remi Collet <remi@php.net> | 2024-07-04 10:23:07 +0200 |
commit | 4147ec9fa522822d7832c1b6ebb9bf9e4c453c2e (patch) | |
tree | 4acb02e2bdbe83c97021da1c3788757a604ba60d | |
parent | f239d5046527ef98e74e5a095d755a01c5fb88a1 (diff) |
cleanup
-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 |