summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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