From: Marcin Krol Date: Sat, 30 Dec 2023 17:23:24 +0000 (+0100) Subject: - R/BR mysql-{devel,libs} instead of versioned ones X-Git-Url: https://git.tld-linux.org/?a=commitdiff_plain;h=38e182eb2d82ac4204e6898218f0b3daa24c0891;p=packages%2Fphp.git - R/BR mysql-{devel,libs} instead of versioned ones --- diff --git a/php.spec b/php.spec index 99e81fe..a6617b0 100644 --- a/php.spec +++ b/php.spec @@ -216,8 +216,8 @@ BuildRequires: libxml2-devel >= 1:2.7.6-4 %{?with_zip:BuildRequires: libzip-devel >= 1.3.1} %{?with_snmp:%{?with_tests:BuildRequires: mibs-net-snmp}} %{?with_mm:BuildRequires: mm-devel >= 1.3.0} -%{!?with_mysqli:BuildRequires: mysql-8.0-devel} -%{!?with_pdo_mysql:BuildRequires: mysql-8.0-devel} +%{!?with_mysqli:BuildRequires: mysql-devel} +%{!?with_pdo_mysql:BuildRequires: mysql-devel} %{?with_snmp:BuildRequires: net-snmp-devel >= 5.3} BuildRequires: oniguruma-devel %{?with_ldap:BuildRequires: openldap-devel >= 2.3.0} @@ -1028,7 +1028,7 @@ URL: http://php.net/manual/en/book.mysqli.php Requires: %{name}-common = %{epoch}:%{version}-%{release} %{?with_mysqlnd:Requires: %{name}-mysqlnd = %{epoch}:%{version}-%{release}} Requires: %{name}-spl = %{epoch}:%{version}-%{release} -Requires: mysql-8.0-libs +Requires: mysql-libs Provides: php(mysqli) Obsoletes: php-mysqli < 4:5.3.28-7