[packages/rpm-build-tools] adapter: subst pecl packages as well
glen
glen at pld-linux.org
Thu May 22 22:13:24 CEST 2014
commit d21f62663839de226d3d06f23f6f46f37fcd4459
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Thu May 22 23:13:13 2014 +0300
adapter: subst pecl packages as well
adapter.awk | 4 ++++
1 file changed, 4 insertions(+)
---
diff --git a/adapter.awk b/adapter.awk
index 676bedc..abb0ddd 100644
--- a/adapter.awk
+++ b/adapter.awk
@@ -1965,6 +1965,10 @@ function replace_php_virtual_deps(field) {
sub(/^php-/, "php(", pkg)
sub(/$/, ")", pkg)
$2 = pkg
+ } else if (pkg ~ /^php-pecl-/) {
+ sub(/^php-pecl-/, "php(", pkg)
+ sub(/$/, ")", pkg)
+ $2 = pkg
}
}
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/rpm-build-tools.git/commitdiff/d21f62663839de226d3d06f23f6f46f37fcd4459
More information about the pld-cvs-commit
mailing list