[packages/adapter: 599/631] adapter: few ruby fixes
glen
glen at pld-linux.org
Mon Sep 12 20:24:39 CEST 2016
commit 68cd2556fcc862b73742b8530bef02a889228d3e
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Mon Jul 21 16:23:22 2014 +0300
adapter: few ruby fixes
adapter.awk | 7 +++++++
1 file changed, 7 insertions(+)
---
diff --git a/adapter.awk b/adapter.awk
index 3df9b26..b98a38f 100644
--- a/adapter.awk
+++ b/adapter.awk
@@ -642,6 +642,11 @@ preamble == 1 {
$1 = "Requires:"
}
+ # deprecated. such deps are autogenerated in rpm5
+ if ($0 == "%{?ruby_mod_ver_requires_eq}") {
+ next
+ }
+
# F<16 had requires(hint)
if (/^Requires\(hint\):/) {
$1 = "Suggests:"
@@ -2138,6 +2143,8 @@ function replace_requires(field, pkg) {
# bad package.xml, see http://pear.php.net/bugs/bug.php?id=17779
sub(/^php-php-gtk/, "php-gtk2", $2)
+ sub(/^rake/, "ruby-rake", $2)
+
# {{{ jpackages / fedora java packages
sub(/^antlr3$/, "java-antlr3", $2)
sub(/^aqute-bnd$/, "java-bnd", $2)
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/adapter.git/commitdiff/6ca0126d4d0c8c79feb7db10b0a0fade0f3b8885
More information about the pld-cvs-commit
mailing list