#!/bin/bash
-oldver='1\.2\.6'
+oldver='1\.3\.2'
oldmonth=March
oldyear=2013
newmajor=1
-newminor=2
-newpatch=7
-newmonth=March
+newminor=3
+newpatch=3
+newmonth=April
newyear=2013
sed -i 's/\(Version:[[:space:]]*\)[^[:space:]]\+/\1'"$newver"'/' \
rpm/*.spec
-
-sed -i 's/WIMLIB_VERSION=[^[:space:]]\+/WIMLIB_VERSION='"$newver"'/' \
- programs/mkwinpeimg