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

Re: Help with dpkg-buildpackage

On Mon, Aug 13, 2001 at 02:39:13PM -0300, Daniel Serodio wrote:
> 	Hi! I'm trying to package my first program, and I need some help
> with dpkg-buildpackage. 
> 	The upstream source package was called Crux-1.2.x.tar.gz, and had
> all files inside the eazel-engine-0.3 dir. So, I renamed the file to
> eazel-engine-0.3.tar.gz and unpacked it.
> 	Then I ran 'dh_make', modified the files in debian/ etc, like the
> New Maintainers Guide says.
> 	When I run 'dpkg-buildpackage -rfakeroot', the following files were
> generated:
> eazel-engine_0.3-1.dsc
> eazel-engine_0.3-1.tar.gz
> eazel-engine_0.3-1_i386.changes
> gtk-engines-eazel_0.3-1_i386.deb
> 	And dpkg-buildpackage says "dpkg-buildpackage: full upload;
> Debian-native package (full source is included)". Why does it think it's a
> Debian-native package? What did I do wrong?

You should rename eazel-engine-0.3.tar.gz to
eazel-engine_0.3.orig.tar.gz (make sure the hyphens and underscores are
as shown there) and rebuild. That way the tools will notice that an
upstream archive is available and build the .diff.gz against that.


Colin Watson                                  [cjwatson@flatline.org.uk]

Reply to: