]> git.pld-linux.org Git - packages/rpm-build-tools.git/commitdiff
- don't BR versionless rpm-build deps
authorElan Ruusamäe <glen@pld-linux.org>
Tue, 14 Mar 2006 00:22:38 +0000 (00:22 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    adapter.awk -> 1.293

adapter.awk

index 3935b6a0a867c78cc4170ec231ddc8c3cd693b04..e3fd048c9b5ee11cf06faa1637d7ab13003de505 100644 (file)
@@ -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
This page took 0.108082 seconds and 4 git commands to generate.