Changeset 484 in ProjectBuilder for devel/pb/lib/ProjectBuilder/Env.pm


Ignore:
Timestamp:
Jun 9, 2008, 12:07:19 AM (16 years ago)
Author:
Bruno Cornec
Message:

Improve Fedora official package build

File:
1 edited

Legend:

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

    r481 r484  
    519519
    520520# PBGRP is replaced by the RPM group of apps
     521#filter PBGRP = Applications/Archiving
     522
     523# PBLIC is replaced by the license of the application
     524#filter PBLIC = GPL
     525
     526# PBDEP is replaced by the list of dependencies
     527#filter PBDEP =
     528
     529# PBSUF is replaced by the package suffix (\$pbsuf in code)
     530filter PBSUF = \$pbsuf
     531
     532# PBOBS is replaced by the Obsolete line
     533#filter PBOBS =
     534
     535EOF
     536            close(CONF);
     537            open(CONF,"> $ENV{'PBROOTDIR'}/pbfilter/fedora.pbf") || die "Unable to create $ENV{'PBROOTDIR'}/pbfilter/fedora.pbf";
     538            print CONF << "EOF";
     539#
     540# \$Id\$
     541#
     542# Filter for rpm build
     543#
     544
     545# PBGRP is replaced by the RPM group of apps
    521546# Cf: http://fedoraproject.org/wiki/RPMGroups
    522547#filter PBGRP = Applications/Archiving
     
    524549# PBLIC is replaced by the license of the application
    525550# Cf: http://fedoraproject.org/wiki/Licensing
    526 #filter PBLIC = GPL
     551#filter PBLIC = GPLv2+
    527552
    528553# PBDEP is replaced by the list of dependencies
     
    530555
    531556# PBSUF is replaced by the package suffix (\$pbsuf in code)
    532 filter PBSUF = \$pbsuf
     557filter PBSUF = %{dist}
    533558
    534559# PBOBS is replaced by the Obsolete line
Note: See TracChangeset for help on using the changeset viewer.