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

Bug#32210: dpkg-dev: parsechangelog cannot handle one character package names



severity 32210 fixed
thanks

jdg@maths.qmw.ac.uk (Julian Gilbey) writes:

> reassign 32210 dpkg-dev
> retitle 32210 Bug#32210: dpkg-dev: parsechangelog cannot handle one character package names
> thanks
> 
> > Trying to build a .deb archive of our "m" package
> > (http://www.phy.hw.ac.uk/~karsten/M/),
> > build complains about files in debian/ being ill-formatted.
> 
> The bug is in /usr/lib/dpkg/parsechangelog/debian, where line 54 should
> be corrected to read:
> 
> -    if (m/^(\w[-+0-9a-z.]+) \(([^\(\) \t]+)\)((\s+[-0-9a-z]+)+)\;/i) {
> +    if (m/^(\w[-+0-9a-z.]*) \(([^\(\) \t]+)\)((\s+[-0-9a-z]+)+)\;/i) {

This is *not* a bug, applying that `fix' would be; see the fine
packaging manual.

| 4.2.1. `Package' 
| -----------------
| 
|      The name of the binary package. Package names consist of the
|      alphanumerics and `+' `-' `.' (plus, minus and full stop).

[...]

|      They must be at least two characters and must start with an
       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|      alphanumeric.
 
-- 
James
"Never trust trucks"


Reply to: