Changes

Jump to navigation Jump to search
Line 99: Line 99:  
  #bump the release
 
  #bump the release
 
  release=$((release + 1))
 
  release=$((release + 1))
 +
or
 +
        # Informations needed from the spec file
 +
        release=$(rpm -q --qf "%{release}\n" --specfile $name.spec | head -1| sed s/\.el.//)
 +
        release=$((release + 1))

Navigation menu