diff options
| -rw-r--r-- | php-pear-crypt-gpg.spec | 30 |
1 files changed, 17 insertions, 13 deletions
diff --git a/php-pear-crypt-gpg.spec b/php-pear-crypt-gpg.spec index c967b78..9aadd64 100644 --- a/php-pear-crypt-gpg.spec +++ b/php-pear-crypt-gpg.spec @@ -1,8 +1,8 @@ # remirepo/fedora spec file for php-pear-crypt-gpg # -# Copyright (c) 2015-2021 Remi Collet -# License: CC-BY-SA -# http://creativecommons.org/licenses/by-sa/4.0/ +# SPDX-FileCopyrightText: Copyright 2015-2026 Remi Collet +# SPDX-License-Identifier: CECILL-2.1 +# http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt # # Please, preserve the changelog entries # @@ -10,10 +10,10 @@ %{!?__pear: %global __pear %{_bindir}/pear} %global pear_name Crypt_GPG -%bcond_without tests +%bcond_with tests Name: php-pear-crypt-gpg -Version: 1.6.6 +Version: 1.6.11 Release: 1%{?dist} Summary: GNU Privacy Guard (GnuPG) @@ -39,17 +39,13 @@ Requires(post): %{__pear} Requires(postun): %{__pear} Requires: php-pear(PEAR) -Requires: %{_bindir}/gpg1 +Requires: (%{_bindir}/gpg1 or %{_bindir}/gpg) # From package.pear Requires: php(language) >= 5.4.8 Requires: php-pear(Console_CommandLine) >= 1.1.10 Requires: php-mbstring # From phpcompatinfo report for version 1.4.1 -Requires: php-ctype -Requires: php-date Requires: php-json -Requires: php-pcre -Requires: php-spl # Optional Requires: php-posix Requires: php-composer(fedora/autoloader) @@ -76,7 +72,7 @@ Autoloader: %{pear_phpdir}/Crypt/GPG/autoload.php cd %{pear_name}-%{version} if [ -x %{_bindir}/gpg1 ]; then -%patch0 -p1 -b .rpm +%patch -P0 -p1 -b .rpm sed -e '/Engine.php/s/md5sum="[^"]*"//' \ -i ../package.xml fi @@ -112,9 +108,9 @@ cd %{pear_name}-%{version}/tests : Upstream test suite ret=0 -for cmd in php php73 php74 php80; do +for cmd in php php74 php80 php81 php82 php83; do if which $cmd; then - $cmd %{_bindir}/phpunit7 \ + $cmd %{_bindir}/phpunit8 \ --include-path=%{buildroot}%{pear_phpdir} \ --verbose . || ret=1 fi @@ -146,6 +142,14 @@ fi %changelog +* Tue Feb 3 2026 Remi Collet <remi@remirepo.net> - 1.6.11-1 +- update to 1.6.11 +- drop mandatory dependency on gpg1 +- re-license spec file to CECILL-2.1 + +* Sat Sep 23 2023 Remi Collet <remi@remirepo.net> - 1.6.7-1 +- update to 1.6.7 + * Wed Sep 8 2021 Remi Collet <remi@remirepo.net> - 1.6.6-1 - update to 1.6.6 |
