Changeset 283 for devel/pbconf


Ignore:
Timestamp:
Nov 13, 2007, 12:09:52 AM (13 years ago)
Author:
Bruno Cornec
Message:
  • Fix pbdistrocheck usage
  • Fix build process for older distro + add new test scripts for delivery
  • Attempt to solve the problem of the delivery variable for MakeMaker? which is different depending on version (PREFIX or destdir)

(merge -r276:282 svn+ssh://bruno@svn.mondorescue.org/mondo/svn/pb/0.8.11)

Location:
devel/pbconf
Files:
3 edited
3 copied

Legend:

Unmodified
Added
Removed
  • devel/pbconf/pbfilter/all.pbf

    r237 r283  
    2727# PBPACKAGER is replaced by the packager name ($pbpackager in code)
    2828filter PBPACKAGER = $pbpackager
     29
  • devel/pbconf/project-builder/pbfilter/rpm.pbf

    r253 r283  
    1212# PBSUF is replaced by the package name ($pbpkg in code)
    1313filter PBSUF = $pbsuf
     14
     15# Special for pb : MakeMaker has various variable for the dest dir
     16filter PBKEYWORD = destdir
     17filter PBFINALDIR =
  • devel/pbconf/project-builder/rpm/project-builder.spec

    r231 r283  
    22# $Id$
    33#
    4 %define perlvendorlib: %(eval "`%{__perl} -V:installvendorlib | cut -d= -f2`")
     4%define perlvendorlib %(eval "`%{__perl} -V:installvendorlib`"; echo $installvendorlib)
    55
    66Summary:    Project Builder aka pb is a tool to produce packages for multiple distributions
     
    3535
    3636%build
    37 %{__perl} Makefile.PL destdir=$RPM_BUILD_ROOT
     37%{__perl} Makefile.PL PBKEYWORD=${RPM_BUILD_ROOT}/PBFINALDIR
    3838make
    3939
    4040%install
    41 make DESTDIR=${RPM_BUILD_ROOT} pure_install
     41%{__rm} -rf $RPM_BUILD_ROOT
     42make pure_install
    4243find ${RPM_BUILD_ROOT} -name perllocal.pod | xargs rm -f
    4344
     
    5051%doc INSTALL COPYING README AUTHORS contrib/pbsetupqemu
    5152
    52 %{_prefix}/lib/perl5/vendor_perl/*/*
     53%{perlvendorlib}/*
    5354%{_bindir}/*
    5455#%{_mandir}/*/*
Note: See TracChangeset for help on using the changeset viewer.