Changes between Version 171 and Version 172 of DebianUbuntuPackaging


Ignore:
Timestamp:
09/18/17 12:34:33 (7 years ago)
Author:
martinl
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • DebianUbuntuPackaging

    v171 v172  
    301301{{{
    302302export DIST=xenial
    303 
    304 export VERSION=2.1.2
     303export BRANCH=ubuntu
     304export PKGNAME=libgdal-grass
     305
     306export VERSION=2.2.1
    305307export PATCH=1
    306308export EXP=
     
    308310}}}
    309311
    310 Update tarball:
    311 
    312 {{{
    313 git checkout pristine-tar && git pull
    314 git checkout ubuntu/$DIST && git pull --rebase
    315 }}}
    316 
    317312Update cowbuilder:
    318313
     
    321316}}}
    322317
    323 Update changelog:
    324 
    325 {{{
    326 dch -b -v $(dpkg-parsechangelog | grep Version: | awk -F': ' '{print $2}')~${DIST}${NUM} -D ${DIST} -m "Rebuild for ${DIST}."
    327 }}}
    328 
    329 Update `debian/control` file (GRASS req version).
    330 
    331 Commit changes:
    332 
    333 {{{
    334 git commit -am"Rebuild $VERSION for $DIST"
    335 git push --all --set-upstream
    336 }}}
    337 
    338 Build and package (see notes on GRASS packaging):
    339 
    340 {{{
    341 gbp buildpackage --git-pbuilder-options=--source-only-changes -sa --git-pbuilder --git-ignore-new --git-dist=${DIST}-ubuntugis-experimental
    342 }}}
    343 
    344 Note1: use `-sa` only when build/uploading first package for GRASS version
    345 
    346 Note2: replace `--git-pbuilder-options=--source-only-changes` by `-S` when using older versions of `gbp`
    347 
    348 Sign and upload package:
    349 
    350 {{{
    351 debsign ../libgdal-grass_${VERSION}-${PATCH}${EXP}~${DIST}${NUM}_source.changes
    352 dput ubuntugis-experimental ../libgdal-grass_${VERSION}-${PATCH}${EXP}~${DIST}${NUM}_source.changes
    353 }}}
    354 
     318Update `debian/control` file (GRASS minimum version).
    355319=== Notes on QGIS packaging ===
    356320