diff options
author | Remi Collet <remi@remirepo.net> | 2022-09-15 11:21:32 +0200 |
---|---|---|
committer | Remi Collet <remi@php.net> | 2022-09-15 11:21:32 +0200 |
commit | be091614f47c4ec53e1298259f254ed30f749fec (patch) | |
tree | 4d935784467f75a646ff9cd616bfa6d31a7ae930 | |
parent | 70be0aed5083b4d83e0a5a1f47e0b0868f675b59 (diff) |
minor
-rw-r--r-- | php-sqlsrv.spec | 6 |
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} |