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

Bug#652114: lintian: LINTIAN_PROFILE is not available to checks



Package: lintian
Version: 2.5.4
Severity: wishlist

Dear Maintainer,

I'm trying to improve the patch provided by #648777 but I could not get
the good profile.

After some debuging, I saw that the LINTIAN_PROFILE is not exported
after the --profile command line option is handled.

The following patch export it for checks.

git pull git://git.baby-gnu.net/lintian dad/export-profile-for-checks

Regards.

From 268be854581a3358ed2fcf2bb2bad994130d3d11 Mon Sep 17 00:00:00 2001
From: Daniel Dehennin <daniel.dehennin@baby-gnu.org>
Date: Wed, 14 Dec 2011 22:54:34 +0100
Subject: [PATCH] The changes-file check only see 'debian' LINTIAN_PROFILE.

When setting a 'Profile: test/main' in the .desc of a changes, the
changes-file only get 'debian'.
Debuging the lintian call in runtests show the '--profile test/main'
option.

This changes is required for #648777.

* frontend/lintian: Add 'LINTIAN_PROFILE' to '@MUST_EXPORT'.
---
 frontend/lintian |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/frontend/lintian b/frontend/lintian
index e16c5ed..ce7382c 100755
--- a/frontend/lintian
+++ b/frontend/lintian
@@ -51,6 +51,7 @@ our $LINTIAN_ROOT;
 my @MUST_EXPORT = (qw(
     LINTIAN_LAB
     LINTIAN_ROOT
+    LINTIAN_PROFILE
 ));
 # LINTIAN_DEBUG, but that is handled separately
 
-- 
1.7.7.3


-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (90, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.0.0-rc5+hati.1 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages lintian depends on:
ii  binutils                       2.22-1           
ii  bzip2                          1.0.5-7          
ii  diffstat                       1.54-1           
ii  file                           5.09-2           
ii  gettext                        0.18.1.1-5       
ii  intltool-debian                0.35.0+20060710.1
ii  libapt-pkg-perl                0.1.25+b1        
ii  libclass-accessor-perl         0.34-1           
ii  libclone-perl                  0.31-1+b2        
ii  libdpkg-perl                   1.16.1.2         
ii  libemail-valid-perl            0.185-1          
ii  libipc-run-perl                0.90-1           
ii  libparse-debianchangelog-perl  1.2.0-1          
ii  libtimedate-perl               1.2000-1         
ii  liburi-perl                    1.59-1           
ii  locales                        2.13-21          
ii  man-db                         2.6.0.2-3        
ii  patchutils                     0.3.2-1          
ii  perl [libdigest-sha-perl]      5.14.2-6         
ii  unzip                          6.0-5            

lintian recommends no packages.

Versions of packages lintian suggests:
ii  binutils-multiarch     <none>               
ii  dpkg-dev               1.16.1.2             
ii  libhtml-parser-perl    3.69-1+b1            
ii  libtext-template-perl  1.45-2               
ii  man-db                 2.6.0.2-3            
ii  xz-utils               5.1.1alpha+20110809-3

-- no debconf information

-- 
Daniel Dehennin
Récupérer ma clef GPG:
gpg --keyserver pgp.mit.edu --recv-keys 0x6A2540D1

Attachment: pgpAdU7kHJpfh.pgp
Description: PGP signature


Reply to: