Changeset 329


Ignore:
Timestamp:
02/22/08 12:07:25 (5 years ago)
Author:
bruno
Message:
  • All modules are packages now (simplifies use and spec)
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • devel/pb/bin/pb

    r328 r329  
    2121# Global variables 
    2222use lib qw (lib); 
    23 use ProjectBuilder::Distribution qw (pb_distro_init); 
    24 use ProjectBuilder::Version qw (pb_version_init); 
     23use ProjectBuilder::Distribution; 
     24use ProjectBuilder::Version; 
    2525use ProjectBuilder::Base; 
    2626 
  • devel/pb/lib/ProjectBuilder/Distribution.pm

    r315 r329  
    66# 
    77 
     8package ProjectBuilder::Distribution; 
     9 
    810use strict; 
     11 
     12# Inherit from the "Exporter" module which handles exporting functions. 
     13  
     14use Exporter; 
     15  
     16# Export, by default, all the functions into the namespace of 
     17# any code which uses this module. 
     18  
     19our @ISA = qw(Exporter); 
     20our @EXPORT = qw(pb_distro_init pb_get_distro); 
    921 
    1022sub pb_distro_init { 
  • devel/pb/lib/ProjectBuilder/Version.pm

    r74 r329  
    55# and have been isolated here to avoid unrelated effects 
    66# 
     7package ProjectBuilder::Version; 
     8 
    79use strict; 
     10 
     11# Inherit from the "Exporter" module which handles exporting functions. 
     12  
     13use Exporter; 
     14  
     15# Export, by default, all the functions into the namespace of 
     16# any code which uses this module. 
     17our @ISA = qw(Exporter); 
     18our @EXPORT = qw(pb_version_init); 
    819 
    920sub pb_version_init { 
  • pbconf/devel/project-builder/rpm/project-builder.spec

    r297 r329  
    1717BuildArch:  noarch 
    1818Requires:   perl >= 5.8.4, perl-DateManip, PBDEP 
    19 Provides:   perl(ProjectBuilder::Changelog), perl(ProjectBuilder::Base), perl(ProjectBuilder::Distribution), perl(ProjectBuilder::Version) 
    2019 
    2120%description 
Note: See TracChangeset for help on using the changeset viewer.