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

Bug#218893: Proposal: debian/rules.version file [Fix for the build-arch problem]



On Mon, Nov 03, 2003 at 11:57:51AM +0100, Bill Allombert wrote:
> On Mon, Nov 03, 2003 at 11:01:13AM +0100, Josip Rodin wrote:
> > Well, regardless of whether we pick versions or listing available targets,
> > why not do it with a new control file field in the source section?
> > That seems logical, and avoids creating a new file.
> > 
> > It's tangentially relevant that the .dsc and .changes files include a Format
> > field that is a version number. Having a "Rules-Format: 2" field in control
> > seems okay to me.
> 
> Some packages generate the control file at build time (e.g. from a
> control.in).  We need to access the file before debian/rules is used,
> and debian/control might not exist yet.

dpkg-source already requires debian/control to exist before it calls the
rules file, so packages already have to make sure debian/control exists
in their source package, even if they later change it.

Cheers,

-- 
Colin Watson                                  [cjwatson@flatline.org.uk]



Reply to: