Changeset 624


Ignore:
Timestamp:
Jun 7, 2006, 12:33:31 AM (13 years ago)
Author:
bcornec
Message:

suse_10.1 packaging

Location:
branches/2.0.8/tools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/2.0.8/tools/DISTROS

    r601 r624  
    99rhel_4
    1010suse_10.0
     11suse_10.1
    1112sles_9
    1213gentoo_2006
  • branches/2.0.8/tools/pkg2mdv

    r597 r624  
    6262    # Use mkrel for mdv
    6363    perl -pi -e 's/define mrel[ \t]+([0-9]+)\..*/define mrel    %mkrel \$1/' rpm/SPECS/\$s
     64    perl -pi -e 's/ Bruno Cornec <bruno@mondorescue.org> ([0-9]+.*)/ Bruno Cornec <bcornec@mandriva.org> %{version}-%{release}/' rpm/SPECS/\$s
     65    rm -rf rpm/BUILD/*
    6466    rpmbuild -ba rpm/SPECS/\$s 2>&1 | tee -a /tmp/mondorescue.log
    6567done
    6668apkg=\`egrep "^Wrote:" /tmp/mondorescue.log | grep -v debug | cut -d: -f2\`
    67 sudo ftpcontrib \$apkg
    68 rm -f $ppkg
     69aspkg=\`echo \$apkg | egrep "\.src.rpm"\`
     70for d in 2006 200664; do
     71    scp -p \$aspkg chroot\${d}:
     72    ssh chroot\${d} "for p in $aspkg; do rpm -ivh \`basename \$p\` ; rpmbuild -ba rpm/SPECS/\$s | tee -a /tmp/mondorescue.log ; done ; sudo ftp\${d}contrib \`egrep '^Wrote:' /tmp/mondorescue.log | grep -v debug | cut -d: -f2\`"
     73done
     74for p in \$apkg; do
     75    sudo ftpcontrib \$p
     76done
     77rm -f \$ppkg
    6978EOF
    7079chmod 755 /tmp/mkmondo
Note: See TracChangeset for help on using the changeset viewer.