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

Bug#832099: lintian: please check for unnecessary SOURCE_DATE_EPOCH assignments



On Fri, Jul 22, 2016 at 11:55:46AM +0200, Chris Lamb wrote:
> Attached is the following:
> 
>   commit 3b10f7dbaecedb0a458c25cc0b8615b489d424af
>   Author: Chris Lamb <lamby@debian.org>
>   Date:   Fri Jul 22 10:54:02 2016 +0100
>   
>       c/rules: Check for unnecessary SOURCE_DATE_EPOCH assignments
>       
>       As of dpkg 1.18.8, this is no longer necessary as dpkg exports this
>       variable if it is not already set (#759999). This should encourage
>       removing some duplicated code from a lot of our rules files.

though, using dpkg-buildpackage is not mandatory, a package should be
able to build with just `debian/rules binary`.  In such case SDE
wouldn't be exported.

This looks fairly similar to e.g. DEB_HOST_ARCH & friends variables,
that even if they are exported by dpkg-buildpackage you should set them
in d/rules nonetheless.

At least, that's what my AM told me back then ^^

-- 
regards,
                        Mattia Rizzolo

GPG Key: 66AE 2B4A FCCF 3F52 DA18  4D18 4B04 3FCD B944 4540      .''`.
more about me:  https://mapreri.org                             : :'  :
Launchpad user: https://launchpad.net/~mapreri                  `. `'`
Debian QA page: https://qa.debian.org/developer.php?login=mattia  `-

Attachment: signature.asc
Description: PGP signature


Reply to: