This is an automated email from the git hooks/post-receive script.

guillem pushed a commit to branch main
in repository dpkg.

View the commit online:
https://git.dpkg.org/cgit/dpkg/dpkg.git/commit/?id=5724079c5aab6eb5e375718eef2f72c220a8303b

commit 5724079c5aab6eb5e375718eef2f72c220a8303b
Author: Guillem Jover <[email protected]>
AuthorDate: Sat Aug 9 18:39:13 2025 +0200

    Dpkg::BuildDriver::DebianRules: Use a default debian_rules value
    
    If the constructor does not get any debian_rules value, set the expected
    one as default, which is what the modules document.
---
 scripts/Dpkg/BuildDriver/DebianRules.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/Dpkg/BuildDriver/DebianRules.pm 
b/scripts/Dpkg/BuildDriver/DebianRules.pm
index fbcc50e84..8a7033694 100644
--- a/scripts/Dpkg/BuildDriver/DebianRules.pm
+++ b/scripts/Dpkg/BuildDriver/DebianRules.pm
@@ -58,7 +58,7 @@ sub new {
         ctrl => $opts{ctrl},
         root_cmd => $opts{root_cmd} // [],
         as_root => $opts{as_root},
-        debian_rules => $opts{debian_rules},
+        debian_rules => $opts{debian_rules} // [ 'debian/rules' ],
         rrr_override => $opts{rrr_override},
     };
     bless $self, $class;

-- 
Dpkg.Org's dpkg

Reply via email to