summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2018-05-02 11:56:52 +0200
committerRemi Collet <remi@remirepo.net>2018-05-02 11:56:52 +0200
commit9b86ff4d11233288ed2440d1b48b51764d9d43e6 (patch)
tree3432016275c16b228772f12deb9e39be920a6bc4
parentb774ef80ba57463f571dcc84ec0f6a11ffc76a92 (diff)
allow paragonie/constant_time_encoding v2
-rw-r--r--php-pragmarx-google2fa.spec9
1 files changed, 6 insertions, 3 deletions
diff --git a/php-pragmarx-google2fa.spec b/php-pragmarx-google2fa.spec
index f7f0e14..bc043f3 100644
--- a/php-pragmarx-google2fa.spec
+++ b/php-pragmarx-google2fa.spec
@@ -22,7 +22,7 @@
Name: php-%{pk_vendor}-%{pk_project}
Version: 3.0.1
-Release: 1%{?gh_date?%{gh_date}git%{gh_short}}%{?dist}
+Release: 2%{?gh_date?%{gh_date}git%{gh_short}}%{?dist}
Summary: Google Two-Factor Authentication for PHP Package
License: MIT
@@ -33,7 +33,7 @@ BuildArch: noarch
%if %{with_tests}
BuildRequires: php(language) >= 5.6
%if 0%{?fedora} >= 27 || 0%{?rhel} >= 8
-BuildRequires: (php-composer(paragonie/constant_time_encoding) >= 1.0 with php-composer(paragonie/constant_time_encoding) < 2)
+BuildRequires: (php-composer(paragonie/constant_time_encoding) >= 1.0 with php-composer(paragonie/constant_time_encoding) < 3)
BuildRequires: (php-composer(paragonie/random_compat) >= 2.0 with php-composer(paragonie/random_compat) < 3)
%else
BuildRequires: php-paragonie-constant-time-encoding
@@ -64,7 +64,7 @@ BuildRequires: php-composer(fedora/autoloader)
Requires: php(language) >= 5.6
%if 0%{?fedora} >= 27 || 0%{?rhel} >= 8
# Only use constant_time_encoding v1 available in Fedora for autoloader path
-Requires: (php-composer(paragonie/constant_time_encoding) >= 1.0 with php-composer(paragonie/constant_time_encoding) < 2)
+Requires: (php-composer(paragonie/constant_time_encoding) >= 1.0 with php-composer(paragonie/constant_time_encoding) < 3)
# Only use random_compat v2 available in Fedora for autoloader path
Requires: (php-composer(paragonie/random_compat) >= 2.0 with php-composer(paragonie/random_compat) < 3)
%else
@@ -161,6 +161,9 @@ exit $ret
%changelog
+* Wed May 2 2018 Remi Collet <remi@remirepo.net> - 3.0.1-2
+- allow paragonie/constant_time_encoding v2
+
* Thu Mar 22 2018 Remi Collet <remi@remirepo.net> - 3.0.1-1
- update to 3.0.1
- license have be changed to MIT