From be091614f47c4ec53e1298259f254ed30f749fec Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Thu, 15 Sep 2022 11:21:32 +0200 Subject: minor --- php-sqlsrv.spec | 6 +++--- 1 file 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} -- cgit