[packages/adapter: 615/631] some fedoraishms
glen
glen at pld-linux.org
Mon Sep 12 20:25:59 CEST 2016
commit a27912c50e73749e282bdbcf6edf0dbe9d4d9cd2
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Sat Nov 28 00:57:07 2015 +0200
some fedoraishms
adapter.awk | 5 +++++
1 file changed, 5 insertions(+)
---
diff --git a/adapter.awk b/adapter.awk
index d2793bd..ad9f980 100644
--- a/adapter.awk
+++ b/adapter.awk
@@ -1329,6 +1329,7 @@ function use_macros()
gsub(php_pear_dir, "%{php_pear_dir}")
gsub(php_data_dir, "%{php_data_dir}")
gsub("%{_datadir}/php", "%{php_data_dir}")
+ gsub("%{php_home}", "%{php_data_dir}")
# change to %{_datadir}, with some exceptions
for (c = 1; c <= NF; c++) {
@@ -2053,6 +2054,10 @@ function replace_php_virtual_deps(field) {
}
}
+ if (pkg == "php(language)") {
+ $2 = "php(core)"
+ }
+
if (pkg == "php4") {
$2 = "webserver(php)"
if ($4 ~ /^[0-9]:/) {
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/adapter.git/commitdiff/6ca0126d4d0c8c79feb7db10b0a0fade0f3b8885
More information about the pld-cvs-commit
mailing list