Changeset 430


Ignore:
Timestamp:
May 8, 2008, 2:08:56 AM (11 years ago)
Author:
bruno
Message:
  • Also adapt template creation for new PBREPO support
  • Adapt pb for new PBREPO support
Files:
2 edited

Legend:

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

    r424 r430  
    458458# Filter for all files
    459459#
    460 # PBSRC is replaced by the source package format
    461 #filter PBSRC = ftp://ftp.$ENV{'PBPROJ'}.org/src/%{name}-%{version}.tar.gz
     460#
     461# PBREPO is replaced by the root URL to access the repository
     462filter PBREPO = \$pbrepo
     463
     464# PBSRC is replaced by the source package location after the repo
     465#filter PBSRC = src/%{name}-%{version}.tar.gz
    462466
    463467# PBVER is replaced by the version (\$pbver in code)
     
    596600
    597601The current upstream source was downloaded from
    598 ftp://ftp.$ENV{'PBPROJ'}.org/src/.
     602PBREPO.
    599603
    600604Upstream Authors: Put their name here
     
    797801Group:          PBGRP
    798802Url:            PBURL
    799 Source:         PBSRC
     803Source:         PBREPO/PBSRC
    800804BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -u -n)
    801805#Requires:       PBDEP
  • pbconf/devel/pbfilter/all.pbf

    r283 r430  
    44# Filter for all files
    55#
     6# PBREPO is replaced by the root URL of the repository
     7filter PBREPO = ftp://ftp.project-builder.org
     8
    69# PBSRC is replaced by the source package format
    7 filter PBSRC = ftp://ftp.mondorescue.org/src/%{name}-%{version}.tar.gz
     10filter PBSRC = src/%{name}-%{version}.tar.gz
    811
    912# PBVER is replaced by the version ($pbver in code)
Note: See TracChangeset for help on using the changeset viewer.