[packages/adapter: 279/631] - drop Icon: - /etc/rpm is pretty fixed
glen
glen at pld-linux.org
Mon Sep 12 19:57:50 CEST 2016
commit ff21ed9e14ba68c9ca7e0457dbfc7f9b143d3ded
Author: Elan Ruusamäe <glen at pld-linux.org>
Date: Sat Jan 21 00:05:01 2006 +0000
- drop Icon:
- /etc/rpm is pretty fixed
Changed files:
adapter.awk -> 1.269
adapter.awk | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/adapter.awk b/adapter.awk
index e52e025..b6c2fb3 100644
--- a/adapter.awk
+++ b/adapter.awk
@@ -623,7 +623,8 @@ preamble == 1 {
$0 = format_requires($1, value);
}
- if (field ~ /packager:|distribution:|docdir:|prefix:/) {
+ # obsolete/unwanted tags
+ if (field ~ /packager:|distribution:|docdir:|prefix:|icon:/) {
next
}
@@ -938,6 +939,8 @@ function use_macros()
continue;
if ($c ~ sysconfdir "/{?ld.so.conf.d")
continue;
+ if ($c ~ sysconfdir "/{?rpm")
+ continue;
if ($c ~ sysconfdir "/{?httpd") # temp
continue;
gsub(sysconfdir, "%{_sysconfdir}", $c)
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/adapter.git/commitdiff/6ca0126d4d0c8c79feb7db10b0a0fade0f3b8885
More information about the pld-cvs-commit
mailing list