[packages/adapter: 32/631] - remove docdir field from preamble, - more subst s/%{PACKAGE_VERSION}/%{version}/; s/%{PACKAGE_NAME
glen
glen at pld-linux.org
Mon Sep 12 19:37:09 CEST 2016
commit 3bcd1fab8b96df5c9718eadd13a413c80a8c4580
Author: kloczek <kloczek at pld-linux.org>
Date: Fri Mar 31 04:50:32 2000 +0000
- remove docdir field from preamble,
- more subst s/%{PACKAGE_VERSION}/%{version}/; s/%{PACKAGE_NAME}/%{name}/.
Changed files:
adapter.awk -> 1.32
adapter.awk | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/adapter.awk b/adapter.awk
index c8ae0bf..5b576e0 100644
--- a/adapter.awk
+++ b/adapter.awk
@@ -202,7 +202,7 @@ preamble == 1 {
field = tolower($1)
- if (field ~ /packager:|distribution:|prefix:/)
+ if (field ~ /packager:|distribution:|docdir:|prefix:/)
next
if (field ~ /buildroot:/)
@@ -391,5 +391,8 @@ function use_macros()
gsub(prefix, "%{_prefix}")
gsub("%{prefix}", "%{_prefix}")
}
+
+ gsub("%{PACKAGE_VERSION}", "%{version}")
+ gsub("%{PACKAGE_NAME}", "%{name}")
}
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/adapter.git/commitdiff/6ca0126d4d0c8c79feb7db10b0a0fade0f3b8885
More information about the pld-cvs-commit
mailing list