Re: 'cdarch' has a dash version

2008-10-04 Thread Jann Horn
In this case, they means me. :-)

Jann Horn

Am Samstag, den 04.10.2008, 07:42 +1000 schrieb Craig Small:
 On Fri, Oct 03, 2008 at 10:28:02PM +0200, Jann Horn wrote:
  I uploaded a package, but it causes the following message:
  
  Your package does not seem to be lintian clean.
  'lintian' is a tool to verify if source package contain obvious
  packaging errors. These warnings/errors were found:
  W: cdarch source: native-package-with-dash-version
 Is cdarch truly a native package?  If so, why did they use a dash in the
 version string.
 
   - Craig
 
 -- 
 Craig Small  GnuPG:1C1B D893 1418 2AF4 45EE  95CB C76C E5AC 12CA DFA5
 http://www.enc.com.au/ csmall at : enc.com.au
 http://www.debian.org/  Debian GNU/Linux, software should be Free 
 
 


signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil


Re: 'cdarch' has a dash version

2008-10-04 Thread Jann Horn
Er... I haven't got a file named *.orig.tar.gz. I think it's because I
myself made the program I want to put in a package.
So my question is: How can I remove this dash?

Jann Horn

Am Freitag, den 03.10.2008, 22:44 +0800 schrieb Paul Wise:
 On Sat, Oct 4, 2008 at 4:28 AM, Jann Horn [EMAIL PROTECTED] wrote:
 
  I uploaded a package, but it causes the following message:
 ...
 N:   dpkg-source searches for this in
 N:   ../package_upstream-version.orig.tar.gz.
 N:
 
 As the warning suggests, the tarball needs to be named correctly.
 
 Please note that it is foo_1.2.3.orig.tar.gz _not_ foo-1.2.3.orig.tar.gz
 
 -- 
 bye,
 pabs
 
 http://wiki.debian.org/PaulWise
 
 


signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil


Re: 'cdarch' has a dash version

2008-10-04 Thread Matthew Palmer
On Sat, Oct 04, 2008 at 10:43:00PM +0200, Jann Horn wrote:
 Er... I haven't got a file named *.orig.tar.gz. I think it's because I
 myself made the program I want to put in a package.
 So my question is: How can I remove this dash?

You don't want to remove the dash, you want to fix your package so that it's
a proper non-native package.  For that, the upstream tarball should match
package_version.orig.tar.gz.

- Matt


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: 'cdarch' has a dash version

2008-10-04 Thread Jann Horn
Oups... now I understood and runned dh_make --createorig.
Now there are no Lintian warnings/errors anymore! Thanks!

Jann Horn

Am Sonntag, den 05.10.2008, 01:25 +1000 schrieb Matthew Palmer:
 On Sat, Oct 04, 2008 at 10:43:00PM +0200, Jann Horn wrote:
  Er... I haven't got a file named *.orig.tar.gz. I think it's because I
  myself made the program I want to put in a package.
  So my question is: How can I remove this dash?
 
 You don't want to remove the dash, you want to fix your package so that it's
 a proper non-native package.  For that, the upstream tarball should match
 package_version.orig.tar.gz.
 
 - Matt
 
 


signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil


Re: 'cdarch' has a dash version

2008-10-04 Thread Ben Finney
(Please don't top-post. Instead, remove quoted material that you're
not replying to, and reply inline to the points you're responding to.)

Jann Horn [EMAIL PROTECTED] writes:

 Er... I haven't got a file named *.orig.tar.gz. I think it's
 because I myself made the program I want to put in a package.

You should prepare a ‘….orig.tar.gz’ that contains all the
non-Debian-packaging source (i.e. everything except the ‘debian/’
directory), and a ‘….diff.gz’ that applies the Debian packaging to
that tarball.

Read the Debian Developer's Reference for guidance on this.

 So my question is: How can I remove this dash?

Your program is not Debian-specific, so it should be a non-native
package; thus, its package version string should have an “upstream”
version (the version number of the program work) and a release number
(the number of Debian packaging releases made of the same version),
separated by a dash.

Read the Debian Policy Manual for the exact format of the version
string.

-- 
 \  “When we call others dogmatic, what we really object to is |
  `\   their holding dogmas that are different from our own.” —Charles |
_o__)   Issawi |
Ben Finney


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



'cdarch' has a dash version

2008-10-03 Thread Jann Horn
Hello!

I uploaded a package, but it causes the following message:

Your package does not seem to be lintian clean.
'lintian' is a tool to verify if source package contain obvious
packaging errors. These warnings/errors were found:
W: cdarch source: native-package-with-dash-version
N:
N:   Native packaging should only be used if a piece of software
was
N:   written specifically to be turned into a Debian package. In
this case,
N:   the version number should not contain a debian revision
part.
N:   =

N:   Native source packages are sometimes created by accident.
In most
N:   cases the reason is the location of the original source
tarball.
N:   dpkg-source searches for this in
N:   ../package_upstream-version.orig.tar.gz.
N:

Has someone an idea how to remove the dash-version from the package
name? I tried renaming the package folder to cdarch-1.0.0, but it
didn't work.

Jann Horn


signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil


Re: 'cdarch' has a dash version

2008-10-03 Thread Paul Wise
On Sat, Oct 4, 2008 at 4:28 AM, Jann Horn [EMAIL PROTECTED] wrote:

 I uploaded a package, but it causes the following message:
...
N:   dpkg-source searches for this in
N:   ../package_upstream-version.orig.tar.gz.
N:

As the warning suggests, the tarball needs to be named correctly.

Please note that it is foo_1.2.3.orig.tar.gz _not_ foo-1.2.3.orig.tar.gz

-- 
bye,
pabs

http://wiki.debian.org/PaulWise


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: 'cdarch' has a dash version

2008-10-03 Thread Craig Small
On Fri, Oct 03, 2008 at 10:28:02PM +0200, Jann Horn wrote:
 I uploaded a package, but it causes the following message:
 
 Your package does not seem to be lintian clean.
 'lintian' is a tool to verify if source package contain obvious
 packaging errors. These warnings/errors were found:
 W: cdarch source: native-package-with-dash-version
Is cdarch truly a native package?  If so, why did they use a dash in the
version string.

  - Craig

-- 
Craig Small  GnuPG:1C1B D893 1418 2AF4 45EE  95CB C76C E5AC 12CA DFA5
http://www.enc.com.au/ csmall at : enc.com.au
http://www.debian.org/  Debian GNU/Linux, software should be Free 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]