Commit b0e2174a authored by Chris Lawrence's avatar Chris Lawrence Committed by Didier Raboud

lsb 3.0-13 Debian release.

parent 0fa4a18b
lsb (3.0-13) unstable; urgency=medium
* The "answer all the questions in the changelog" release.
* Skip empty headers when parsing RFC822 headers for init scripts.
(Closes: #343310)
* The versioned dependency on dpkg-dev is due to the use of
DEB_*_ARCH_CPU in debian/rules, which only became available in dpkg
1.13.2. Feel free to submit a patch to facilitate a sarge backport.
(Closes: #344392)
* Since the lsb family of packages track an upstream specification with
"non-native" version numbering, the use of a hyphenated version number
for these native packages is justified. (Closes: #344384)
(Note that although it does violate policy for a non-native package to
lack a hyphen in its version number, the contrapositive case does not
violate policy.)
* Deal with missing /etc/debian_version. (Closes: #341719)
-- Chris Lawrence <> Thu, 29 Dec 2005 03:50:44 -0500
lsb (3.0-12) unstable; urgency=low
* Remove the pidfile in killproc(). (Closes: #321271)
......@@ -82,7 +82,7 @@ def scan_initfile(initfile):
for header, body in inheaders.iteritems():
# Ignore empty headers
if not body.strip():
if header in ('Default-Start', 'Default-Stop'):
headers[header] = map(int, body.split())
......@@ -88,6 +88,8 @@ def guess_debian_release():
distinfo['OS'] = 'GNU'
distinfo['DESCRIPTION'] = '%(ID)s %(OS)s' % distinfo
if os.path.exists('/etc/debian_version'):
release = open('/etc/debian_version').read().strip()
if not release[0:1].isalpha():
......@@ -97,8 +99,8 @@ def guess_debian_release():
# Guess with apt policy before being this stupid?
distinfo.update({ 'RELEASE' : release, 'CODENAME' : 'sid'})
distinfo['DESCRIPTION'] += ' %(RELEASE)s (%(CODENAME)s)' % distinfo
distinfo['DESCRIPTION'] = '%(ID)s %(OS)s %(RELEASE)s (%(CODENAME)s)' % distinfo
return distinfo
def get_distro_information():
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment