Package: cvs-autoreleasedeb
Version: 0.12-1

Attached patch number 1:

 Added a new optional package property to the configuration file:
 "buildopts" so we can specify build options to svn-buildpackage
 (e.g: -a<architecture> for cross compilation).

Thanks for the nice software,
Index: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog	(revision 289)
+++ trunk/debian/changelog	(revision 290)
@@ -1,3 +1,12 @@
+cvs-autoreleasedeb (0.12-1.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Added a new package property: "buildopts" so we can specify
+    build options to svn-buildpackage (e.g: -a<architecture> for
+    cross compilation). 
+
+ -- Oron Peled <o...@actcom.co.il>  Thu, 10 Dec 2009 18:26:01 +0200
+
 cvs-autoreleasedeb (0.12-1) unstable; urgency=low
 
   * Some fixes in svn-autoreleasedeb. Now supports "local" option
Index: trunk/svn-autoreleasedeb
===================================================================
--- trunk/svn-autoreleasedeb	(revision 289)
+++ trunk/svn-autoreleasedeb	(revision 290)
@@ -217,8 +217,9 @@
 		# Generate the package
 		mkdir($::PACKDIR.$s."/".$p);
 
+		my $buildopts = $conf_struct->{$s}{$p}{buildopts};
 		chdir($::SVNDIR.$s."/".$conf_struct->{$s}{$p}{prefix}."/".$p);
-		$cmd = "svn-buildpackage --svn-override=buildArea=".$::PACKDIR.$s."/".$p." ";
+		$cmd = "svn-buildpackage --svn-override=buildArea=".$::PACKDIR.$s."/".$p." $buildopts ";
 
 		unless (system($cmd) == 0) {
 			print "svn-buildpackage failed. going to try again in the next run!\n";
Index: trunk/svn-autoreleasedeb.conf.pod
===================================================================
--- trunk/svn-autoreleasedeb.conf.pod	(revision 289)
+++ trunk/svn-autoreleasedeb.conf.pod	(revision 290)
@@ -63,6 +63,7 @@
 inside some other directory than the svn root. You must inform the tag
 to checkout the sources from. This tag should be used to point where
 to get the release from. "stable" is a good name for a tag.
+An optional property is "buildopts" and is passed verbatim to svn-buildpackage.
 
 =head2 option
 

Reply via email to