Changeset 1107 for devel/pb/bin/pb


Ignore:
Timestamp:
Nov 17, 2010, 12:39:33 PM (10 years ago)
Author:
Bruno Cornec
Message:

r4032@localhost: bruno | 2010-11-08 15:51:53 +0100

  • Change dependency on Mail::Sendmail from use to require, as it's only used in pb_announce, so not in VE/VM
File:
1 edited

Legend:

Unmodified
Added
Removed
  • devel/pb/bin/pb

    r1105 r1107  
    1111
    1212use strict 'vars';
     13
     14# The modules mentioned here are required by pb when used both
     15# locally or inside a VE/VM
     16# Additional required modules only used locally are called with a require
     17# in their respective section
    1318use Getopt::Long qw(:config auto_abbrev no_ignore_case);
    1419use Data::Dumper;
     
    3136use ProjectBuilder::Filter;
    3237use ProjectBuilder::Changelog;
    33 use Mail::Sendmail;
    3438
    3539# Global variables
     
    544548    require DBI;
    545549    require DBD::SQLite;
     550    require Mail::SendMail;
    546551
    547552    pb_announce();
     
    16081613        # Sign packages locally
    16091614        if ($dtype eq "rpm") {
    1610                 #pb_system("rpm --addsign --define \'_signature gpg\' --define \'_gpg_name \"$ENV{'PBPACKAGER'}\"\' --define \'__gpg_sign_cmd /usr/bin/gpg --batch --no-verbose --no-armor --no-tty --no-secmem-warning -sbo %{__signature_filename} %{__plaintext_filename} --use-agent\' $made","Signing RPM packages packages");
     1615                #pb_system("rpm --addsign --define \"_signature gpg\" --define \"_gpg_name $ENV{'PBPACKAGER'}\" --define \"__gpg_sign_cmd /usr/bin/gpg --batch --no-verbose --no-armor --no-tty --no-secmem-warning -sbo %{__signature_filename} %{__plaintext_filename} --use-agent\" $made","Signing RPM packages packages");
    16111616        } elsif ($dtype eq "deb") {
    16121617                #pb_system("debsign $made","Signing DEB packages");
Note: See TracChangeset for help on using the changeset viewer.