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
|
Upstream shippes minimized / obfuscated versions of all js files, a truck load
of embedded php for building and the closure-compiler. Therefore i create a
dfsg clean orig.tgz using the debian/rules target "get-orig-source".
If you run debian/rules get-orig-source, it will fetch the tarball for the
latest version in debian/changelog.
To fetch a specific version, which must be a tag in the upstream repository,
please run:
CJS_VERSION=3.1.2 debian/rules get-orig-source
The recommended package update workflow is:
# Check for new upstream version
$ uscan --report
.. new upstream version found 3.1.2 ..
# Great! New upstream version 3.1.2 found. Fetch the new version and create a
# dfsg clean orig.tgz
$ CJS_VERSION=3.1.2 debian/rules get-orig-source
# In order to import the tarball with gbp, the repository must have no uncommited
# changes, so move the dump directory to /tmp/ and import it from there.
$ mv dump /tmp/
$ gbp import-orig /tmp/dump/cryptojs_3.1.2+dfsg.orig.tgz
|