summaryrefslogtreecommitdiffstats
path: root/php-pear-crypt-gpg.spec
diff options
context:
space:
mode:
Diffstat (limited to 'php-pear-crypt-gpg.spec')
-rw-r--r--php-pear-crypt-gpg.spec17
1 files changed, 8 insertions, 9 deletions
diff --git a/php-pear-crypt-gpg.spec b/php-pear-crypt-gpg.spec
index 8189b90..179991f 100644
--- a/php-pear-crypt-gpg.spec
+++ b/php-pear-crypt-gpg.spec
@@ -1,6 +1,6 @@
# remirepo/fedora spec file for php-pear-crypt-gpg
#
-# Copyright (c) 2015-2019 Remi Collet
+# Copyright (c) 2015-2020 Remi Collet
# License: CC-BY-SA
# http://creativecommons.org/licenses/by-sa/4.0/
#
@@ -19,8 +19,8 @@
%global with_tests 0%{?_with_tests:1}
Name: php-pear-crypt-gpg
-Version: 1.6.3
-Release: 3%{?dist}
+Version: 1.6.4
+Release: 1%{?dist}
Summary: GNU Privacy Guard (GnuPG)
License: LGPLv2+
@@ -35,14 +35,12 @@ BuildRequires: php-pear(PEAR)
%if %{with_tests}
# for tests
BuildRequires: php-composer(phpunit/phpunit)
-%if 0%{?fedora} >= 30
+%if 0%{?fedora} >= 30 || 0%{?rhel} >= 6
BuildRequires: %{_bindir}/gpg1
%else
BuildRequires: %{_bindir}/gpg
%endif
BuildRequires: %{_bindir}/gpg-agent
-# remirepo:1
-BuildRequires: gnupg < 2
BuildRequires: %{_bindir}/ps
%endif
@@ -50,13 +48,11 @@ Requires(post): %{__pear}
Requires(postun): %{__pear}
Requires: php-pear(PEAR)
-%if 0%{?fedora} >= 30
+%if 0%{?fedora} >= 30 || 0%{?rhel} >= 6
Requires: %{_bindir}/gpg1
%else
Requires: %{_bindir}/gpg
%endif
-# remirepo:1
-Requires: gnupg < 2
# From package.pear
Requires: php(language) >= 5.4.8
Requires: php-pear(Console_CommandLine) >= 1.1.10
@@ -153,6 +149,9 @@ fi
%changelog
+* Mon Mar 23 2020 Remi Collet <remi@remirepo.net> - 1.6.4-1
+- update to 1.6.4
+
* Tue Feb 5 2019 Remi Collet <remi@remirepo.net> - 1.6.3-3
- fix FTBFS, use gpg1