X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=trunk%2FR%2Fdebcontrol.R;h=a044f89ca4b041c0a8ed2f375fab9d898ef8bd13;hb=d8a2e28b2f013a8624cb587f09f90120f46f1ce8;hp=9018a2dd3b47313e67eaf3875e4f478f1d27dbf2;hpb=86e55bf48a319cf529b4a3519a11c0d94d47414b;p=cran2deb.git diff --git a/trunk/R/debcontrol.R b/trunk/R/debcontrol.R index 9018a2d..a044f89 100644 --- a/trunk/R/debcontrol.R +++ b/trunk/R/debcontrol.R @@ -131,16 +131,6 @@ generate_control <- function(pkg) { } control[2,'Depends'] <- paste(pkg$depends$bin,collapse=', ') -# # bundles provide virtual packages of their contents -# # unnecessary for now; cran2deb converts R bundles itself -# if (pkg$is_bundle) { -# control[2,'Provides'] = paste( -# lapply(r_bundle_contains(pkg$name) -# ,function(name) return(pkgname_as_debian(paste(name) -# ,repopref=pkg$repo))) -# ,collapse=', ') -# } - # generate the description descr <- 'GNU R package "' if ('Title' %in% colnames(pkg$description)) { @@ -148,11 +138,7 @@ generate_control <- function(pkg) { } else { descr <- paste(descr,pkg$name,sep='') } - if (pkg$is_bundle) { - long_descr <- pkg$description[1,'BundleDescription'] - } else { - long_descr <- pkg$description[1,'Description'] - } + long_descr <- pkg$description[1,'Description'] if (length(long_descr) < 1 || long_descr == "") { # bypass lintian extended-description-is-empty for which we care not.