From 2f2e8f6bf95acabc0b8d34470c6322ead8ce14a9 Mon Sep 17 00:00:00 2001 From: Johannes Ranke Date: Mon, 27 Apr 2026 22:40:54 +0200 Subject: Backport R 4.6.0 to new repo, stop support for i386 The _reverts_r-base.sh file was reconstructed because I accidentally deleted it after creating the packages and before checking in the changes. But I am quite sure it is exactly as used. --- backport | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'backport') diff --git a/backport b/backport index cf8d17a..5415078 100755 --- a/backport +++ b/backport @@ -2,7 +2,7 @@ # Script to automate backporting for CRAN # Creates a source package and binary packages for the following architecture -ARCH=i386 +ARCH=amd64 export ARCH # Iteration of the backport, for the case several backports of the same @@ -81,7 +81,7 @@ mkdir -p $DIST cp -r $pkg\_* $DIST cp -r $pkg-* $DIST -# Go to package building directory +# Change to build directory cd $DIST/$pkg-* # Determine the version of the upstream Debian package @@ -95,8 +95,8 @@ cranversion=$upstreamversion"~"$DIST"cran.$iteration" # would make an update of the archive index inside the loop in backport_others # necessary -new_dsc=$rcrandir/$DIST-cran40/${pkg}_${cranversion}.dsc -logfile=$rcrandir/$DIST-cran40/${pkg}_${cranversion}_${ARCH}.build +new_dsc=$rcrandir/$DIST-cran46/${pkg}_${cranversion}.dsc +logfile=$rcrandir/$DIST-cran46/${pkg}_${cranversion}_${ARCH}.build if [ -e $new_dsc ]; then @@ -113,7 +113,7 @@ else # Check for a script doing modifications required for backporting script=../\_reverts\_$pkg\.sh - if [ -f $script ]; then source $script; fi + if [ -f $script ]; then source $script; echo backport.sh Applied $script; fi if [ "$skip" = false ] then @@ -124,7 +124,7 @@ else --aptcache /var/cache/pbuilder/$DIST-$ARCH/aptcache fi sudo -E pdebuild --debbuildopts '-sa' \ - --buildresult $rcrandir/$DIST-cran40/ \ + --buildresult $rcrandir/$DIST-cran46/ \ --logfile $logfile \ -- --override-config \ --distribution $DIST --basetgz /var/cache/pbuilder/$DIST-$ARCH-base.tgz \ -- cgit v1.2.3