#!/usr/bin/perl -w

use strict;
use warnings;
use RPM::Source::Transformation::GenericUtility;

$RPM::Source::Transformation::Factory::RaiseRelease::nextrel='none';
$RPM::Source::Transformation::Factory::RaiseRelease::defaultchangelog='- ';
$RPM::Source::Transformation::Factory::Hook::opt_no_default_hook=1;
my $converter=RPM::Source::Transform->new();
$converter->transform();

__END__

=head1	NAME

srpmtool - a swiss army knife of src.rpm/.spec file manipulation.

=head1	SYNOPSIS

see B<srpmtool> --help

=head1	DESCRIPTION

B<srpmtool> unpacks src.rpm file(s) if given as argument, 
applies user specified actions to their .spec files and writes 
new changed src.rpms or spec files.
There is a rich set of built-in actions, including raising release,
(The style of raising release is selected by --nextrel option,
for example, --nextrel incr or --nextrel nmu), setting tags
such as Url: or Epoch:, renaming the main package or its subpackages, 
disabling subpackages, applying patches to spec or sources,
loading user specified editing subroutines (hooks) and so on,
see B<--help> for the list.

By default, B<srpmtool> without any option changes nothing.

=head1	AUTHOR

Written by Igor Vlasenko <viy@altlinux.org>.

=head1	COPYING

Copyright (c) 2010-2018 Igor Vlasenko, ALT Linux Team.

This is free software; you can redistribute it and/or modify it under the terms
of the GNU General Public License as published by the Free Software Foundation;
either version 2 of the License, or (at your option) any later version.

=cut
