[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Source repackaging workflow with git-buildpackage



On Wed, 18 Jul 2018 10:34:07 +0300, Andrius Merkys wrote:

> I want to remove some files from upstream tarball foo-1.23 (already
> in Debian) to produce foo-1.23+ds using git-buildpackage following
> the recipe posted here [1]. 

Cf. also https://perl-team.pages.debian.net/howto/repacking.html

> I have added Files-Excluded stanza to
> d/copyright and added '
> opts="repacksuffix=+ds,dversionmangle=s/\+ds//,repack"' to d/watch.

I don't think that "repack" is necessary here.

> However, 'gbp import-orig --pristine-tar --uscan' does not do
> anything telling "package is up to date, nothing to do". How should
> I proceed?

I guess uscan needs --force-download (--force also works IME); not
sure if you can pass this via gbp-import-orig or if you need a manual
(1) uscan + (2) 'gbp import-orig --pristine-tar your-new-tarball'.
 
> [1] https://www.debian.org/doc/manuals/debmake-doc/ch05.en.html#dfsg


Cheers,
gregor

-- 
 .''`.  https://info.comodo.priv.at -- Debian Developer https://www.debian.org
 : :' : OpenPGP fingerprint D1E1 316E 93A7 60A8 104D  85FA BB3A 6801 8649 AA06
 `. `'  Member VIBE!AT & SPI Inc. -- Supporter Free Software Foundation Europe
   `-   BOFH excuse #237:  Plate voltage too low on demodulator tube 


Reply to: