]> git.pld-linux.org Git - packages/rpm-build-tools.git/blobdiff - adapter.awk
- disable get_epoch for now (anyone want to fix it?)
[packages/rpm-build-tools.git] / adapter.awk
index 77e55fd12e420668fad782850fb013731a69f1e2..1e912456c6cf3478818f958c47437f3df5fd55ca 100644 (file)
@@ -1308,6 +1308,11 @@ function kill_preamble_macros()
 
 function get_epoch(pkg, ver,   epoch)
 {
+       return
+# should parse the BR lines more adequately:
+#      freetype = 2.0.0 -> correct
+#      freetype = 2.1.9 -> with epoch 1, as epoch 1 was added in 2.1.7
+
        shell = "grep -o '^" pkg ":[^:]\+' ../PLD-doc/BuildRequires.txt | awk '{print $NF}'";
        shell | getline epoch;
        return epoch;
This page took 0.133303 seconds and 4 git commands to generate.