1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
|
rocketcea for Debian
-----------------
The upstream source package, at least as of version 1.1.18, contains some
cruft, bordering on if not clearly being DFSG violations. This file
documents the process used for getting from the 1.1.18 upstream tarball to
the .orig.tar.gz file used for the initial package build.
To start with, the git branch structure works like this:
upstream "real" upstream sources
pristine-tar deltas for recreating tarballs from git repos
dfsg-orig branch for DFSG-compliant upstream
debian branch for Debian packaging
git init
gbp import-orig --no-merge --pristine-tar --upstream-version 1.1.18 \
rocketcea-1.1.18.tar.gz
git checkout upstream
git branch -D master
git checkout -b dfsg-orig
- create cleanup-script.sh
git add cleanup-script.sh
./cleanup-script.sh
git commit -a
git checkout -b debian
- create debian/ content
git add debian
git commit -a
- create .git/gbp.conf pointing to dfsg-orig and debian branches for builds
gbp buildpackage --git-no-pristine-tar
pristine-tar commit rocketcea_1.1.18+dfsg.orig.tar.gz
|