Created
February 22, 2016 19:10
-
-
Save cas--/000a66f3f3f3d604903e to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cd <packaging_dir> | |
wget http://download.deluge-torrent.org/source/deluge-<tarball version>.tar.gz | |
mv deluge-<tarball version>.tar.gz deluge_<tarball version>.orig.tar.gz # Use _ and add '.orig' | |
export DEBEMAIL="[email protected]" DEBFULLNAME="Full Name" | |
cd deluge_deb | |
git co upstream | |
extract tarball to deluge_deb | |
git add . | |
git ci -am "import upstream deluge <tarball version>" | |
git co master | |
git merge upstream | |
dch -v <tarball version>-0 -D unstable --force-distribution "New upstream version" | |
git ci -am "update changelog" | |
git co <distribution> | |
git merge master # Results in merge conflict | |
git co --ours debian/changelog | |
dch -v <tarball version>-0~<distribution>~ppa1 -D <distribution> --force-distribution "New upstream version" | |
git add debian/changelog | |
git ci -m "Merge branch 'master' into <distribution>" | |
# debuild -S -si # New upstream package signed | |
# First dist use: | |
debuild -S -sa | |
# Subsequent dists use: | |
debuild -S -sd | |
dput ppa:deluge-team/ppa <distribution>-source.changes |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment