]> git.donarmstrong.com Git - cran2deb.git/blobdiff - trunk/R/zzz.R
trying to a lintian layer similar to patches as we cannot patch inside debian/
[cran2deb.git] / trunk / R / zzz.R
index 5644b96cd8a67bc3277fcaf13f7b1250bb4fb4ef..050ed0481372028bf7fee2f4977d96460ac8ac24 100644 (file)
@@ -5,7 +5,7 @@
         stop('Invalid system specification: must be of the form name-arch')
     }
     global("host_arch", gsub('^[a-z]+-','',which_system))
-    global("maintainer", 'cran2deb autobuild <cran2deb@example.org>')
+    global("maintainer", 'cran2deb autobuild <cran2deb@gmail.com>')
     global("root", system.file(package='cran2deb'))
     global("cache_root", '/var/cache/cran2deb')
     global("pbuilder_results",  file.path('/var/cache/cran2deb/results',which_system))
     global("dinstall_config",   file.path('/etc/cran2deb/sys',which_system,'mini-dinstall.conf'))
     global("dinstall_archive",  file.path('/etc/cran2deb/archive',which_system))
     global("r_depend_fields", c('Depends','Imports')) # Suggests, Enhances
-    global("scm_revision", paste("svn revision", svnversion(), sep=""))
+    global("scm_revision", paste("svn:", svnversion()))
     global("patch_dir", '/etc/cran2deb/patches')
+    global("lintian_dir", '/etc/cran2deb/lintian')
     global("changesfile", function(srcname,version='*') {
         return(file.path(pbuilder_results
                         ,paste(srcname,'_',version,'_'
                               ,host_arch,'.changes',sep='')))
     })
+    global("version_suffix","cran")
+    # perhaps db_cur_version() should be used instead?
+    global("version_suffix_step",1)
 
     cache <- file.path(cache_root,'cache.rda')
     if (file.exists(cache)) {