generate_changelog_entry <- function(build, changelog) {
# TODO: should say 'New upstream release' when necessary
debversion <- version_new(build$r_version, build$deb_revision, build$deb_epoch)
- cat(paste(paste(build$srcname,' (',debversion,') unstable; urgency=low',sep='')
+ cat(paste(paste(build$srcname,' (',debversion,') testing; urgency=low',sep='')
,'' ,paste(' * cran2deb ',build$scm_revision
,' with DB version ',as.integer(build$db_version),'.',sep='')
- ,'',paste(' --',maintainer,'',build$date_stamp)
+ ,'',paste(' --',maintainer,'',format(build$date_stamp,'%a, %d %b %Y %H:%M:%S %z'))
,'','','',sep='\n'),file=changelog, append=TRUE)
}
generate_rules(pkg)
generate_copyright(pkg)
generate_control(pkg)
+ ## debdir <- file.path(pkg$path,'debian')
+ ## system(paste("ls ", debdir, "; ls -l ", debdir, "/patches/*", sep=""))
# convert text to utf8 (who knows what the original character set is --
# let's hope iconv DTRT).