Changeset 429 in ProjectBuilder for devel/pb/lib/ProjectBuilder/Filter.pm


Ignore:
Timestamp:
May 8, 2008, 2:04:20 AM (16 years ago)
Author:
Bruno Cornec
Message:
  • Change filtering interface to add pbrepo keyword support and PBREPO macro
  • Add repository generation support + conf files to pb for rpm
  • Adapt pb and mondorecue spec files to new interfaces
File:
1 edited

Legend:

Unmodified
Added
Removed
  • devel/pb/lib/ProjectBuilder/Filter.pm

    r427 r429  
    140140The fourteenth parameter is the changelog.
    141141The fifteenth parameter is the project.
     142The sixteenth parameter is the repo.
    142143
    143144=cut
     
    161162my $chglog = shift || undef;
    162163my $pbproj = shift;
     164my $pbrepo = shift;
    163165
    164166pb_log(2,"DEBUG: From $f to $destfile\n");
     
    207209The eighth parameter is the packager name.
    208210The nineth parameter is the project name.
     211The tenth parameter is the repo.
    209212
    210213=cut
     
    223226my $pbpackager=shift;
    224227my $pbproj=shift;
     228my $pbrepo = shift;
    225229
    226230my $cp = "$ENV{'PBTMP'}/".basename($destfile);
    227231copy($destfile,$cp) || die "Unable to create $cp";
    228232
    229 pb_filter_file($cp,$ptr,$destfile,$pbpkg,$pbver,$pbtag,$pbrev,$pbdate,$pbpackager,$pbproj);
     233pb_filter_file($cp,$ptr,$destfile,$pbpkg,$pbver,$pbtag,$pbrev,$pbdate,$pbpackager,$pbproj,$pbrepo);
    230234unlink $cp;
    231235}
     
    247251The nineth parameter is the packager name.
    248252The tenth parameter is the project name.
     253The eleventh parameter is the repo.
    249254
    250255=cut
     
    265270my $pbpackager=shift;
    266271my $pbproj=shift;
     272my $pbrepo = shift;
    267273
    268274pb_log(2,"DEBUG: From $f to $destfile\n");
Note: See TracChangeset for help on using the changeset viewer.