Changeset 279 in ProjectBuilder


Ignore:
Timestamp:
Nov 12, 2007, 3:18:58 AM (13 years ago)
Author:
Bruno Cornec
Message:

Attempt to solve the problem of the delivery variable for MakeMaker? which is different depending on version (PREFIX or destdir)

Location:
0.8.11
Files:
3 added
4 edited

Legend:

Unmodified
Added
Removed
  • 0.8.11/pb/contrib/updateqemu

    r262 r279  
    2525    echo "Halting $m"
    2626    echo "/sbin/halt -p" > /tmp/pbscript
    27     pb -m $m -a root -s /tmp/pbscript script2vm
     27    #pb -m $m -a root -s /tmp/pbscript script2vm
    2828    sleep 120
    2929    job=`ps auhxww | grep qemu | grep $m | grep -Ev 'grep|updateqemu' | awk '{print $2}'`
    3030    if [ _"$job" != _"" ]; then
    3131        echo "Really halting $m"
    32         kill $job
     32        #kill $job
    3333    fi
    3434done
  • 0.8.11/pbconf/pbfilter/all.pbf

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

    r253 r279  
    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
  • 0.8.11/pbconf/project-builder/rpm/project-builder.spec

    r231 r279  
    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
    3838make
    3939
     
    5050%doc INSTALL COPYING README AUTHORS contrib/pbsetupqemu
    5151
    52 %{_prefix}/lib/perl5/vendor_perl/*/*
     52%{perlvendorlib}/*
    5353%{_bindir}/*
    5454#%{_mandir}/*/*
Note: See TracChangeset for help on using the changeset viewer.