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 | | |
| 318 | Update `debian/control` file (GRASS minimum version). |