commit 8e73416563002bb1774ffda2c24ebe05c7075394
Author: Elan Ruusamäe <[email protected]>
Date:   Tue Mar 14 00:22:38 2006 +0000

    - don't BR versionless rpm-build deps
    
    Changed files:
        adapter.awk -> 1.293

 adapter.awk | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)
---
diff --git a/adapter.awk b/adapter.awk
index 3935b6a..e3fd048 100644
--- a/adapter.awk
+++ b/adapter.awk
@@ -660,6 +660,29 @@ preamble == 1 {
                $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
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/adapter.git/commitdiff/6ca0126d4d0c8c79feb7db10b0a0fade0f3b8885

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to