App-Magpie

 view release on metacpan or  search on metacpan

lib/App/Magpie/Action/Update.pm  view on Meta::CPAN

    $fh->print(<<EOF);
#!/bin/bash
magpie fix -v                  && \\
bm -l                          && \\
mgarepo sync                   && \\
svn ci -m "update to $newvers" && \\
mgarepo submit                 && \\
rm \$0
EOF
    $fh->close;
    chmod 0755, $script;

    # try to install buildrequires
    if ( ! $ENV{MAGPIE_NO_URPMI_BUILDREQUIRES} ) {
        $self->log( "installing buildrequires" );
        $self->run_command( "LC_ALL=C sudo urpmi --wait-lock --buildrequires $specfile" );
    }

    # fix spec file, update buildrequires
    require App::Magpie::Action::FixSpec;
    App::Magpie::Action::FixSpec->new->run;



( run in 0.371 second using v1.01-cache-2.11-cpan-496ff517765 )