invirt-dev (0.0.11) unstable; urgency=low
* add i386 to apt repo
+ * extend invirt-build-release to handle amd64 + i386
- -- Greg Price <price@mit.edu> Fri, 19 Dec 2008 22:35:57 -0500
+ -- Greg Price <price@mit.edu> Fri, 19 Dec 2008 23:37:02 -0500
invirt-dev (0.0.10) unstable; urgency=low
eval `perl '-F:\s+' -lane 'print $F[0]."=".$F[1] if /^Version|^Source|^Distribution/' \
<(dpkg-parsechangelog)`
-
+ eval $(perl '-F:\s+' -lane 'print $F[0]."=".$F[1] if /^Binary|Architecture/' <"../${Source}_${Version}.dsc")
+
dpkg-buildpackage -us -uc -rfakeroot -S
cd ..
- sbuild -A -d hardy-amd64 "${Source}_${Version}.dsc"
-
+ case $Architecture in
+ all)
+ sbuild -A -d hardy "${Source}_${Version}.dsc";;
+ any)
+ sbuild -d hardy-amd64 "${Source}_${Version}.dsc"
+ sbuild -d hardy-i386 "${Source}_${Version}.dsc";;
+ *)
+ echo "invirt-build-release: architecture '$Architecture' not 'all' or 'any'" >&2
+ exit 1
+ esac
+
if ! svn ls $svnuri/package_tags/$Source >/dev/null 2>&1; then
svn mkdir $svnuri/package_tags/$Source \
-m "Create package tags directory"