summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--php-sqlsrv.spec6
1 files changed, 3 insertions, 3 deletions
diff --git a/php-sqlsrv.spec b/php-sqlsrv.spec
index 68433f5..a086701 100644
--- a/php-sqlsrv.spec
+++ b/php-sqlsrv.spec
@@ -45,9 +45,9 @@ BuildRequires: %{?scl_prefix}php-devel >= 7.3
BuildRequires: %{?scl_prefix}php-pdo
BuildRequires: %{?scl_prefix}php-pear
BuildRequires: unixODBC-devel >= 2.3.1
-%if 0%{?fedora} || 0%{?rhel} >= 8
-BuildRequires:(msodbcsql17 >= %{msodbcsqlver17} or msodbcsql18 >= %{msodbcsqlver18})
-Requires: (msodbcsql17%{?_isa} >= %{msodbcsqlver17} or msodbcsql18%{?_isa} >= %{msodbcsqlver18})
+%if 0%{?fedora} >= 27 || 0%{?rhel} >= 8
+BuildRequires:(msodbcsql18 >= %{msodbcsqlver18} or msodbcsql17 >= %{msodbcsqlver17})
+Requires: (msodbcsql18%{?_isa} >= %{msodbcsqlver18} or msodbcsql17%{?_isa} >= %{msodbcsqlver17})
%else
BuildRequires: msodbcsql17 >= %{msodbcsqlver17}
Requires: msodbcsql17%{?_isa} >= %{msodbcsqlver17}