From: Elan Ruusamäe Date: Thu, 22 May 2014 07:17:37 +0000 (+0300) Subject: adapter: php-reflection to virtual X-Git-Tag: auto/th/rpm-build-tools-4.6-4~47 X-Git-Url: http://git.pld-linux.org/gitweb.cgi?a=commitdiff_plain;h=eb2fdba8f785a8750692f7ed8bbd66612ea17e6e;p=packages%2Frpm-build-tools.git adapter: php-reflection to virtual --- diff --git a/adapter.awk b/adapter.awk index 003418b..f5db6e6 100644 --- a/adapter.awk +++ b/adapter.awk @@ -1961,7 +1961,7 @@ function replace_php_virtual_deps(field) { # } if (field == "requires:" || field == "suggests:") { - if (pkg ~ /^php-(bcmath|bz2|calendar|ctype|curl|dba|date|dom|enchant|exif|fileinfo|filter|fpm|ftp|gd|gettext|gmp|hash|iconv|imap|interbase|intl|json|ldap|mbstring|mcrypt|mssql|mysql|mysqli|odbc|openssl|pcntl|pcre|pdo|pdo-dblib|pdo-firebird|pdo-mysql|pdo-odbc|pdo-pgsql|pdo-sqlite|pgsql|phar|posix|pspell|readline|recode|session|shmop|simplexml|snmp|soap|sockets|spl|sqlite|sqlite3|sybase-ct|sysvmsg|sysvsem|sysvshm|tidy|tokenizer|wddx|xml|xmlreader|xmlrpc|xmlwriter|xsl|zip|zlib)/) { + if (pkg ~ /^php-(bcmath|bz2|calendar|ctype|curl|dba|date|dom|enchant|exif|fileinfo|filter|fpm|ftp|gd|gettext|gmp|hash|iconv|imap|interbase|intl|json|ldap|mbstring|mcrypt|mssql|mysql|mysqli|odbc|openssl|pcntl|pcre|pdo|pdo-dblib|pdo-firebird|pdo-mysql|pdo-odbc|pdo-pgsql|pdo-sqlite|pgsql|phar|posix|pspell|readline|recode|reflection|session|shmop|simplexml|snmp|soap|sockets|spl|sqlite|sqlite3|sybase-ct|sysvmsg|sysvsem|sysvshm|tidy|tokenizer|wddx|xml|xmlreader|xmlrpc|xmlwriter|xsl|zip|zlib)/) { sub(/^php-/, "php(", pkg); sub(/$/, ")", pkg); $2 = pkg