Re: lintian warning native-package-with-dash-version
On Thu, Sep 29, 2005 at 12:17:28AM -0400, kamaraju kusumanchi wrote:
> I am new to packaging and I am trying to package gnuplotfortran whose
> upstream is located at http://sourceforge.net/projects/gnuplotfortran .
> The upstream source is called gnuplotfortran-0.2.2-1.tar.bz2 . I
> downloaded this to /tmp .
> Then I did
> tar xjvf /tmp/gnuplotfortran-0.2.2-1.tar.bz2 -C .
Doesn't dpkg-source v2 handle bzip? Since June 11, according to the
> tar czvf gnuplotfortran-0.2.2-1.tar.gz gnuplotfortran-0.2.2-1/
> cd gnuplotfortran-0.2.2-1/
> dh_make --copyright lgpl -e firstname.lastname@example.org -f \
> ../gnuplotfortran-0.2.2-1.tar.gz -l
What if you don't specify -f?
> $lintian -i gnuplotfortran_0.2.2-1-1.dsc
> W: gnuplotfortran source: native-package-with-dash-version
> Q1) Where am I doing wrong? How can I get rid of this error?
One way or another you're creating a native package, which this is
not. A native package is defined by the lack of a .orig.tar.gz
> Q2) should I create a symbolic link gnuplotfortran-0.2.2-1.orig.tar.gz
> which points to gnuplotfortran-0.2.2-1.tar.gz before proceeding with
> dpkg-buildpackage? I see that it is automatically created after
> dpkg-buildpackage step.
A symbolic link, or a real link (I guess), or a copy of the file, or a