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

Re: diff arguments for building diff for dpkg-source



On Tue, Sep 30, 2003 at 08:35:11PM +0300, Micha Feigin wrote:
> I am trying to build my own version of a package and I am trying to
> reuse the existing package files since I don't know how to create them
> myself.
> Currently I am trying to build the diff for the source trio
> (orig.tar.gz/diff.gz/.dsc). The problem is that using the standard diff
> arguments diff -ruN doesn't work. dpkg-source -x returns an error for
> the diff line (the first one in the file) and for the file dates that
> diff adds.
> What are the arguments for diff to build a diff file that dpkg-source -x
> accepts?

Don't attempt to do it yourself using diff. Simply build the new package
with dpkg-buildpackage, which will invoke dpkg-source properly to build
a valid source archive.

Cheers,

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



Reply to: