Re: Native vs. non-native packages
Joachim Breitner wrote:
>
> you could develop it all in one branch, but before running
> dpkg-buildpackage run a script that does (untested code)
>
> UPSTREAM_VERSION=$(cat debian/changelog|some_grep_magic)
> SOURCE_NAME=$(cat debian/control|some_grep_magic)
> git archive --format=tar --prefix="$SOURCE_NAME-$UPSTREAM_VERSION" | \
> tar --file - --delete "$SOURCE_NAME-$UPSTREAM_VERSION/debian" | \
> gzip -9 > ../"$SOURCE_NAME_$UPSTREAM_VERSION".orig.tar.gz
>
> This will place a nicely named tarball in the directory above, where
> dpkg-buildpackage will find it and the only differences it will find are
> the debian/ directory...
>
> Does this sound viable?
That's an interesting idea, and makes me wonder:
perhaps I could just use the ./setup sdist output as the upstream
tarball? It would make sense on a number of levels, I think.
-- John
Reply to: