r28991 - in /trunk/dh-make-perl: debian/changelog lib/DhMakePerl.pm
gregoa at users.alioth.debian.org
gregoa at users.alioth.debian.org
Thu Jan 1 01:37:08 UTC 2009
Author: gregoa
Date: Thu Jan 1 01:37:05 2009
New Revision: 28991
URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=28991
Log:
"--build": call `debian/rules build' before `fakeroot debian/rules binary'
in order to do the build without (fake)root privileges. Thanks to Mark
Hedges for the bug report and to Russ Allbery for the solution
(closes: #510362).
Modified:
trunk/dh-make-perl/debian/changelog
trunk/dh-make-perl/lib/DhMakePerl.pm
Modified: trunk/dh-make-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/dh-make-perl/debian/changelog?rev=28991&op=diff
==============================================================================
--- trunk/dh-make-perl/debian/changelog (original)
+++ trunk/dh-make-perl/debian/changelog Thu Jan 1 01:37:05 2009
@@ -5,6 +5,10 @@
variable.
* Remove libpod-parser-perl from Depends, sync Build-Depends-Indep with
Depends now that tests are run.
+ * "--build": call `debian/rules build' before `fakeroot debian/rules binary'
+ in order to do the build without (fake)root privileges. Thanks to Mark
+ Hedges for the bug report and to Russ Allbery for the solution
+ (closes: #510362).
[ Damyan Ivanov ]
* Apply two patches from Paul Fenwick reformatting the whitespace of
Modified: trunk/dh-make-perl/lib/DhMakePerl.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/dh-make-perl/lib/DhMakePerl.pm?rev=28991&op=diff
==============================================================================
--- trunk/dh-make-perl/lib/DhMakePerl.pm (original)
+++ trunk/dh-make-perl/lib/DhMakePerl.pm Thu Jan 1 01:37:05 2009
@@ -443,8 +443,10 @@
# uhmf! dpkg-genchanges doesn't cope with the deb being in another dir..
#system("dpkg-buildpackage -b -us -uc " . $self->cfg->dbflags) == 0
system("fakeroot make -C $maindir -f debian/rules clean");
+ system("make -C $maindir -f debian/rules build") == 0
+ || die "Cannot create deb package: 'debian/rules build' failed.\n";
system("fakeroot make -C $maindir -f debian/rules binary") == 0
- || die "Cannot create deb package\n";
+ || die "Cannot create deb package: 'fakeroot debian/rules binary' failed.\n";
}
sub install_package {
More information about the Pkg-perl-cvs-commits
mailing list