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