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

Re: Lintian ERROR saying dpatch is obsolete



On Tue, Nov 29, 2011 at 09:56:45AM +0100, Martin Wuertele wrote:
> * Paul Wise <pabs@debian.org> [2011-11-29 03:33]:
> > All of these can be dealt with by rewriting the patch so that it is
> > acceptable to upstream and applied and released by them.
> 
> Care to explain how conditional per-target-distribution patches should
> be bushed upstream? Think of patches requried for debian/sid,
> debian/squeeze-backports, ubuntu/Oneric Ocelot and ubuntu/Lucid Lynx
> when it comes to build dependencies.

You can always make the patch conditional on an environment variable or
similar and set that in debian/rules according to the target
distribution.  It's a small rewrite, but not that much, and it can often
be less confusing when you're finished.

-- 
Colin Watson                                       [cjwatson@debian.org]


Reply to: