summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorShawn Iwinski <shawn@iwin.ski>2018-03-13 03:54:40 +0000
committerRemi Collet <remi@remirepo.net>2018-03-13 06:29:50 +0100
commitb6c80bfddad411fee0ead03b73d0d8886d0ded8d (patch)
treed021b4fa73e4f2754c2c829ba804133e9c2c1b88
parent4f0098c6f31bea52cf05c4d326b9328fdeab23c9 (diff)
Update range dependencies' conditional to include RHEL 8+
-rw-r--r--php-simplesamlphp-saml2.spec9
1 files changed, 6 insertions, 3 deletions
diff --git a/php-simplesamlphp-saml2.spec b/php-simplesamlphp-saml2.spec
index d598887..b348eb1 100644
--- a/php-simplesamlphp-saml2.spec
+++ b/php-simplesamlphp-saml2.spec
@@ -38,7 +38,7 @@
Name: php-%{composer_vendor}-%{composer_project}
Version: %{github_version}
-Release: 1%{?github_release}%{?dist}
+Release: 2%{?github_release}%{?dist}
Summary: SAML2 PHP library from SimpleSAMLphp
Group: Development/Libraries
@@ -56,7 +56,7 @@ BuildArch: noarch
## composer.json
BuildRequires: php(language) >= %{php_min_ver}
BuildRequires: php-composer(phpunit/phpunit)
-%if 0%{?fedora} >= 27
+%if 0%{?fedora} >= 27 || 0%{?rhel} >= 8
BuildRequires: (php-composer(psr/log) >= %{psr_log_min_ver} with php-composer(psr/log) < %{psr_log_max_ver})
BuildRequires: (php-composer(robrichards/xmlseclibs) >= %{robrichards_xmlseclibs_min_ver} with php-composer(robrichards/xmlseclibs) < %{robrichards_xmlseclibs_max_ver})
BuildRequires: (php-composer(mockery/mockery) >= %{mockery_min_ver} with php-composer(mockery/mockery) < %{mockery_max_ver})
@@ -86,7 +86,7 @@ BuildRequires: php-composer(fedora/autoloader)
Requires: php(language) >= %{php_min_ver}
Requires: php-dom
Requires: php-openssl
-%if 0%{?fedora} >= 27
+%if 0%{?fedora} >= 27 || 0%{?rhel} >= 8
Requires: (php-composer(psr/log) >= %{psr_log_min_ver} with php-composer(psr/log) < %{psr_log_max_ver})
Requires: (php-composer(robrichards/xmlseclibs) >= %{robrichards_xmlseclibs_min_ver} with php-composer(robrichards/xmlseclibs) < %{robrichards_xmlseclibs_max_ver})
%else
@@ -192,6 +192,9 @@ exit $RETURN_CODE
%changelog
+* Mon Mar 12 2018 Shawn Iwinski <shawn@iwin.ski> - 2.3.8-2
+- Update range dependencies' conditional to include RHEL 8+
+
* Sat Mar 10 2018 Shawn Iwinski <shawn@iwin.ski> - 2.3.8-1
- Update to 2.3.8 (RHBZ #1534984, SSPSA 201801-01, CVE-2018-6519, SSPSA 201802-01, CVE-2018-7644, SSPSA 201803-01, CVE-2018-7711)
- License changed from LGPLv2 to LGPLv2+