[packages/adapter: 464/631] - fc deps, process allso requires(pre,post)
glen
glen at pld-linux.org
Mon Sep 12 20:13:20 CEST 2016
commit e27788d1c16d21ce9c6c619fb417447f7d473448
Author: Elan Ruusamäe <glen at pld-linux.org>
Date: Wed Feb 10 16:33:14 2010 +0000
- fc deps, process allso requires(pre,post)
Changed files:
adapter.awk -> 1.435
adapter.awk | 10 +++++++---
1 file changed, 7 insertions(+), 3 deletions(-)
---
diff --git a/adapter.awk b/adapter.awk
index 584ef1d..c2b220d 100644
--- a/adapter.awk
+++ b/adapter.awk
@@ -710,7 +710,7 @@ preamble == 1 {
replace_requires();
}
- if (field ~ /^requires:/) {
+ if (field ~ /^requires:/ || field ~ /^requires\(/) {
replace_requires();
}
@@ -1714,8 +1714,7 @@ function add_br(br)
BR[BR_count++] = br
}
-function replace_requires()
-{
+function replace_requires() {
# jpackages
sub(/^java-devel$/, "jdk", $2);
@@ -1757,6 +1756,10 @@ function replace_requires()
sub(/^file-devel$/, "libmagic-devel", $2);
sub(/^gamin-python$/, "python-gamin", $2);
sub(/^pygobject2$/, "python-pygobject", $2);
+ sub(/^tkinter$/, "python-tkinter", $2);
+ sub(/^python-imaging$/, "python-PIL", $2);
+ sub(/^python-imaging-tk$/, "python-PIL-tk", $2);
+ sub(/^initscripts$/, "rc-scripts", $2);
# debian
sub(/^libgconf2-dev$/, "GConf2-devel", $2);
@@ -1863,6 +1866,7 @@ function import_rpm_macros() {
}
function replace_groupnames(group) {
+ group = replace(group, "Amusements/Games", "Applications/Games");
group = replace(group, "Amusements/Games/Strategy/Real Time", "X11/Applications/Games/Strategy");
group = replace(group, "Application/Multimedia", "Applications/Multimedia");
group = replace(group, "Application/System", "Applications/System");
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/adapter.git/commitdiff/6ca0126d4d0c8c79feb7db10b0a0fade0f3b8885
More information about the pld-cvs-commit
mailing list