Changeset 790 in MondoRescue


Ignore:
Timestamp:
Sep 13, 2006, 3:27:39 PM (18 years ago)
Author:
Bruno Cornec
Message:

mkrel support for Mandriva official packages

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/stable/tools/pkg2mdv

    r769 r790  
    6262    s=\`rpm -qlp \$p | egrep '\.spec'\`
    6363    # Use mkrel for mdv
    64     perl -pi -e 's/define mrel[ \t]+([0-9]+)\..*/define mrel    %mkrel \$1/' rpm/SPECS/\$s
    65     perl -pi -e 's/ Bruno Cornec <bruno@mondorescue.org> ([0-9]+.*)/ Bruno Cornec <bcornec@mandriva.org> %{version}-%{release}/' rpm/SPECS/\$s
     64    perl -pi -e "s/define Release:[ \t]+..*/define Release: %mkrel $TAG/" rpm/SPECS/\$s
     65    perl -pi -e 's/ Bruno Cornec <bruno@mondorescue.org>..*/ Bruno Cornec <bcornec@mandriva.org> %{version}-%{release}/' rpm/SPECS/\$s
    6666    rm -rf rpm/BUILD/*
    6767    rpmbuild -ba rpm/SPECS/\$s 2>&1 | tee -a /tmp/mondorescue.log
Note: See TracChangeset for help on using the changeset viewer.