Changeset 1582


Ignore:
Timestamp:
May 23, 2012, 4:00:46 PM (7 years ago)
Author:
bruno
Message:

Adding pbcl for afio

File:
1 edited

Legend:

Unmodified
Added
Removed
  • devel/pb/t/pbtest

    r1581 r1582  
    7676sudopbtest "pb --version"
    7777sudopbtest "pbdistrocheck"
    78 sudopbtest "pb clean"
    79 sudopbtest "pb -p afio getconf"
     78sudopbtest "pb clean 2>&1 > /dev/null"
    8079
    8180cat > /tmp/.pbrc << EOF
     
    103102sudo mv /tmp/.pbrc ~pbtest/.pbrc
    104103
     104sudopbtest "pb -p afio getconf"
     105
    105106cat > /tmp/.pbrc << EOF
    106107vetype default = chroot
     
    121122
    122123# Create SVN conf files - doesn't work fully as it asks for a password - solved with PBVCSOPT
    123 sudopbtest "svn info"
     124sudopbtest "svn info 2>&1 > /dev/null"
    124125cat > /tmp/servers << EOF
    125126[global]
     
    177178sudo perl -pi -e 's|%configure||' ~pbtest/pb/afio/pbconf/2.5/afio/rpm/afio.spec
    178179sudo perl -pi -e 's|make %{?_smp_mflags}|make %{?_smp_mflags}\nchmod 644 script*/*|' ~pbtest/pb/afio/pbconf/2.5/afio/rpm/afio.spec
    179 sudo perl -pi -e 's|make DESTDIR=$RPM_BUILD_ROOT install|kdir -p $RPM_BUILD_ROOT%{_bindir}\nmkdir -p $RPM_BUILD_ROOT%{_mandir}/man1\ninstall -p -m 755 afio $RPM_BUILD_ROOT%{_bindir}\ninstall -p -m 644 afio.1 $RPM_BUILD_ROOT%{_mandir}/man1|' ~pbtest/pb/afio/pbconf/2.5/afio/rpm/afio.spec
     180sudo perl -pi -e 's|make DESTDIR=.*|mkdir -p $RPM_BUILD_ROOT%{_bindir}\nmkdir -p $RPM_BUILD_ROOT%{_mandir}/man1\ninstall -p -m 755 afio $RPM_BUILD_ROOT%{_bindir}\ninstall -p -m 644 afio.1 $RPM_BUILD_ROOT%{_mandir}/man1|' ~pbtest/pb/afio/pbconf/2.5/afio/rpm/afio.spec
    180181sudo perl -pi -e 's|%doc ChangeLog|%doc HISTORY PORTING README SCRIPTS ANNOUNCE-2.5 perl.artistic.license|' ~pbtest/pb/afio/pbconf/2.5/afio/rpm/afio.spec
    181182sudo perl -pi -e 's|%doc INSTALL COPYING README AUTHORS NEWS|%doc afio.lsm script1 script2 script3 script4\n%{_bindir}/%{name}\n%{_mandir}/man1/%{name}.1*|' ~pbtest/pb/afio/pbconf/2.5/afio/rpm/afio.spec
     
    225226
    226227for d in $TESTVEDIST; do
    227     sudopbtest "pb -p pb -m $d newve"
     228    sudopbtest "pb -p pb -r devel -m $d newve"
    228229    sudopbtest "pb -p pb -m $d sbx2setupve"
    229230    sudopbtest "pb -p pb -m $d snapve"
Note: See TracChangeset for help on using the changeset viewer.