Changeset 221


Ignore:
Timestamp:
Oct 15, 2007, 2:26:09 PM (13 years ago)
Author:
Bruno Cornec
Message:

Fix problem building in RPM_BUILD_ROOT

Location:
0.8.5
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • 0.8.5/pb/bin/pb

    r219 r221  
    124124    pb_build2pkg();
    125125} elsif ($action =~ /^build2ssh$/) {
     126    pb_build2ssh();
     127} elsif ($action =~ /^cms2ssh$/) {
     128    pb_cms2build();
    126129    pb_build2ssh();
    127130} elsif ($action =~ /^pkg2ssh$/) {
     
    855858    print "\tbuild2ssh: Send the tar files to a SSH host               \n";
    856859    print "\n";
     860    print "\tcms2ssh:   cms2build + build2ssh\n";
     861    print "\n";
    857862    print "\tpkg2ssh:   Send the packages built to a SSH host          \n";
    858863    print "\n";
  • 0.8.5/pbconf/project-builder/rpm/project-builder.spec

    r216 r221  
    3434
    3535%build
    36 %{__perl} Makefile.PL
     36%{__perl} Makefile.PL destdir=$RPM_BUILD_ROOT
    3737make
    3838
    3939%install
    40 export DESTDIR=${RPM_BUILD_ROOT}
    4140make install
    4241
    4342%clean
    44 %{__rm} -rf %{buildroot}
     43%{__rm} -rf $RPM_BUILD_ROOT
    4544
    4645%files
Note: See TracChangeset for help on using the changeset viewer.