SPECS: adapter.awk - don't BR versionless rpm-build deps
glen
glen at pld-linux.org
Tue Mar 14 01:22:43 CET 2006
Author: glen Date: Tue Mar 14 00:22:43 2006 GMT
Module: SPECS Tag: HEAD
---- Log message:
- don't BR versionless rpm-build deps
---- Files affected:
SPECS:
adapter.awk (1.292 -> 1.293)
---- Diffs:
================================================================
Index: SPECS/adapter.awk
diff -u SPECS/adapter.awk:1.292 SPECS/adapter.awk:1.293
--- SPECS/adapter.awk:1.292 Wed Mar 8 00:52:02 2006
+++ SPECS/adapter.awk Tue Mar 14 01:22:38 2006
@@ -660,6 +660,29 @@
$0 = format_requires($1, value);
}
+ # BR: tar (and others) is to common (rpm-build requires it)
+ if (field ~ /^buildrequires:/) {
+ if ($2 == "awk" ||
+ $2 == "binutils" ||
+ $2 == "bzip2" ||
+ $2 == "cpio" ||
+ $2 == "diffutils" ||
+ $2 == "elfutils" ||
+ $2 == "fileutils" ||
+ $2 == "findutils" ||
+ $2 == "glibc-devel" ||
+ $2 == "grep" ||
+ $2 == "gzip" ||
+ $2 == "make" ||
+ $2 == "patch" ||
+ $2 == "sed" ||
+ $2 == "sh-utils" ||
+ $2 == "tar" ||
+ $2 == "textutils") {
+ next
+ }
+ }
+
# obsolete/unwanted tags
if (field ~ /vendor:|packager:|distribution:|docdir:|prefix:|icon:|author:|author-email:|metadata-version:/) {
next
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/adapter.awk?r1=1.292&r2=1.293&f=u
More information about the pld-cvs-commit
mailing list