[packages/rpm-build-tools] - adapter for php-common -> php(core)
glen
glen at pld-linux.org
Fri Aug 24 00:29:59 CEST 2012
commit 6c2643f292c706d09e44e156d98c9ec9995f28d0
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Fri Aug 24 01:29:50 2012 +0300
- adapter for php-common -> php(core)
adapter.awk | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/adapter.awk b/adapter.awk
index cc3b897..a1597d9 100644
--- a/adapter.awk
+++ b/adapter.awk
@@ -1874,14 +1874,14 @@ function replace_php_virtual_deps(field) {
}
}
- if (pkg ~/^php$/) {
- $2 = "webserver(php)";
+ if (pkg == "php" || pkg == "php-common") {
+ $2 = "php(core)";
if ($4 ~ /^[0-9]:/) {
$4 = substr($4, 3);
}
}
- if (pkg ~/^php4$/) {
+ if (pkg == "php4") {
$2 = "webserver(php)";
if ($4 ~ /^[0-9]:/) {
$4 = substr($4, 3);
More information about the pld-cvs-commit
mailing list