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

Re: Computing Build-Depends at build time (and other updates to debian/control)?



Simon Richter wrote:
> On 21.08.2016 11:03, Josh Triplett wrote:
> > Mechanisms like shlibdeps, dh_perl, and other substvars allow packages
> > to compute their Depends at build time.  This avoids hard-coding
> > dependencies, simplifies upgrading the package to new versions, and
> > makes transitions much easier.
> 
> Package builds typically happen in environments where the network is
> unavailable, so any information that could influence this decision must
> be contained in the source package itself

Absolutely agreed.  However:

> (in which case the maintainer can update the control file as well)

I'd like to avoid including that information in the source package two
or more times.  See Paul Wise's reply in this thread regarding upstream
metadata formats and "Don't Repeat Yourself".


Reply to: