uprev-spec revision 709
10139N/A# uprev-spec - increments by 1 the value of the Release field in spec files 10139N/A# Dermot McCluskey 22-July-2003 Initial Version 10139N/A # if spec_file contains a leading dir, then split it out /^(release\s*:\s*)(\S*)(\s*)$/i && do { # if Release value does not consist entirely of digits, # then check for leading chars ending with digits if ($rel =~ /^(.*\D+)(\d+)$/) { # print all other lines unmodified &print_msg ("ERROR: no Release value in spec file\n"); &print_msg ("Spec file Release New Rel Status\n"); &print_msg ("=============================== ======= ======= =======\n");