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

Re: libpsm +ds version



On Tue, Jul 24, 2018 at 1:30 PM, Andreas Beckmann <anbe@debian.org> wrote:
> On 2018-07-24 19:51, Brian Smith wrote:
>> The upstream tarball for libpsm2 is repacked to exclude debian/*. It
>> is my understanding that the package's upstream version needs to> include a +ds indicator, such as:
>
> other commonly used suffixes are +repack or +dfsg (for removal of
> non-dfsg bits), optionally followed by a number (if you repack the same
> tarball repeatedly). I'd prefer a ~suffix instead of +suffix, since it
> sorts slightly before (and not after) the pristine upstream version
> (i.e. "upgrading" to pristine upstream is still possible).
>
>> libpsm2-10.3.58+ds.1-1
>>
>> Any thoughts? I would add this at the next refresh of libpsm2. I
>> expect upstream to release a new version within a few months.
>
> Repacking to *only* remove debian/* should not be neccessary with a
> format 3.0 (quilt) package.
>
> From dpkg-source(1):
>
> Format: 3.0 (quilt)
> [...]
>        Extracting
>        [...] The debian tarball is extracted on top of the source
> directory after prior removal of any pre-existing debian directory. [...]
>
> And git-buildpackage should handle this properly as well.
>
> So don't repack unless you have a good reason for it.
>
>
> Andreas


Thanks for the heads up. Does PackagingWithGit need to be updated? The
example gbp.conf filters debian/* in the import-orig section.

https://wiki.debian.org/PackagingWithGit#An_example_gbp.conf


-- 
Brian T. Smith
System Fabric Works
Senior Technical Staff
bsmith@systemfabricworks.com
GPG Key: B3C2C7B73BA3CD7F


Reply to: