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

guillem pushed a commit to branch master
in repository dpkg.

View the commit online:
https://git.dpkg.org/cgit/dpkg/dpkg.git/commit/?id=13c1c95323beebfba21ad8e4e56e7c110089929d

commit 13c1c95323beebfba21ad8e4e56e7c110089929d
Author: Guillem Jover <[email protected]>
AuthorDate: Fri Sep 28 01:41:01 2018 +0200

    build: Do not make the Build.PL script executable
    
    CPAN does not like that on the grounds that the script itself does not
    know which perl to use.
---
 cpan.am          | 3 +--
 debian/changelog | 1 +
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/cpan.am b/cpan.am
index 1ef5706eb..4be971f5c 100644
--- a/cpan.am
+++ b/cpan.am
@@ -20,7 +20,6 @@ dist-cpan:
        cp -fpR $(top_builddir)/scripts/Build.PL $(CPAN_DIST)
 
        : # Fix permissions of the distributed files.
-       chmod a+x $(CPAN_DIST)/Build.PL
        find $(CPAN_DIST) \
               -type d ! -perm 755 -exec chmod u+rwx,go+rx {} ';' -o \
             ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
@@ -29,7 +28,7 @@ dist-cpan:
          chmod -R a+r $(CPAN_DIST)
 
        : # Prepare the CPAN distribution.
-       cd $(CPAN_DIST) && ./Build.PL
+       cd $(CPAN_DIST) && $(PERL) Build.PL
        cd $(CPAN_DIST) && ./Build manifest
        cd $(CPAN_DIST) && ./Build distdir
 
diff --git a/debian/changelog b/debian/changelog
index b807c3ce9..64f85b002 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -15,6 +15,7 @@ dpkg (1.19.2) UNRELEASED; urgency=medium
     - dpkg-query(1): Document the PAGER environment variable usage.
   * Build system:
     - Distribute a LICENSE file on CPAN.
+    - Do not make the Build.PL script executable.
 
   [ Updated programs translations ]
   * Polish (Ɓukasz Dulny).

-- 
Dpkg.Org's dpkg

Reply via email to