Package: svn-autoreleasedeb Tags: patch Followup-For: Bug #411752 I hacked together this patch (attached). Basically, svn-buildpackage will now always be called with the "-rfakeroot" option.
Rationales: - Most (all?) packages expect to be built by root (or through fakeroot). - fakeroot appears harmless if you're root already. - cvs-buildpackage also appears to have "-rfakeoot" hard-wired into it. - i need coffee. - it works better. -- System Information: Debian Release: 4.0 APT prefers stable APT policy: (500, 'stable') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.18 Locale: LANG=en_GB.ISO-8859-15, LC_CTYPE=en_GB.ISO-8859-15 (charmap=ISO-8859-15) Versions of packages svn-autoreleasedeb depends on: ii adduser 3.102 Add and remove users and groups ii dpkg-dev 1.13.25 package building tools for Debian ii dupload 2.6.3.3 utility to upload Debian packages ii fakeroot 1.5.10 Gives a fake root environment ii libapt-pkg-perl 0.1.20 Perl interface to libapt-pkg ii libxml-parser-perl 2.34-4.2 Perl module for parsing XML files ii perl 5.8.8-7 Larry Wall's Practical Extraction ii subversion 1.4.2dfsg1-2 Advanced version control system ii svn-buildpackage 0.6.16etch1 helper programs to maintain Debian svn-autoreleasedeb recommends no packages. -- no debconf information
diff -ru cvs-autoreleasedeb-0.12.orig/debian/changelog cvs-autoreleasedeb-0.12/debian/changelog --- cvs-autoreleasedeb-0.12.orig/debian/changelog 2007-06-08 01:12:41.000000000 +0100 +++ cvs-autoreleasedeb-0.12/debian/changelog 2007-06-08 01:12:09.000000000 +0100 @@ -1,3 +1,10 @@ +cvs-autoreleasedeb (0.12-2) unstable; urgency=low + + * svn-buildpackage is now always given the "-rfakeroot" option + (closes: 411752). + + -- Karl E. Jorgensen <[EMAIL PROTECTED]> Fri, 8 Jun 2007 01:11:13 +0100 + cvs-autoreleasedeb (0.12-1) unstable; urgency=low * Some fixes in svn-autoreleasedeb. Now supports "local" option diff -ru cvs-autoreleasedeb-0.12.orig/svn-autoreleasedeb cvs-autoreleasedeb-0.12/svn-autoreleasedeb --- cvs-autoreleasedeb-0.12.orig/svn-autoreleasedeb 2006-08-16 11:35:51.000000000 +0100 +++ cvs-autoreleasedeb-0.12/svn-autoreleasedeb 2007-06-08 01:09:56.000000000 +0100 @@ -218,7 +218,7 @@ mkdir($::PACKDIR.$s."/".$p); chdir($::SVNDIR.$s."/".$conf_struct->{$s}{$p}{prefix}."/".$p); - $cmd = "svn-buildpackage --svn-override=buildArea=".$::PACKDIR.$s."/".$p." "; + $cmd = "svn-buildpackage -rfakeroot --svn-override=buildArea=".$::PACKDIR.$s."/".$p." "; unless (system($cmd) == 0) { print "svn-buildpackage failed. going to try again in the next run!\n";