From 4eeddccac5429838871379814571ff5fa7c79a0d Mon Sep 17 00:00:00 2001 From: Cyrille Bollu Date: Wed, 19 Dec 2018 17:17:17 +0100 Subject: [PATCH] Fixed interpreter shbang line of script exe_update Made some other modifications related to the rename of exe_update.pl to exe_update Declared compliance with policy 4.2.1 --- debian/control | 4 ++-- debian/rules | 3 +++ 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/debian/control b/debian/control index e38c7da..e2cec0e 100644 --- a/debian/control +++ b/debian/control @@ -8,7 +8,7 @@ Build-Depends: debhelper (>= 10), libxml-parser-perl, libxml-simple-perl, perl -Standards-Version: 3.9.8 +Standards-Version: 4.2.1 Vcs-Browser: https://salsa.debian.org/perl-team/modules/packages/libwin32-exe-perl Vcs-Git: https://salsa.debian.org/perl-team/modules/packages/libwin32-exe-perl.git Homepage: https://metacpan.org/release/Win32-Exe @@ -25,7 +25,7 @@ Description: Manipulate Win32 executable files including version information, icons, manifest and other resources. The module Win32::Exe::Manifest can be used for manifest handling. . - A script exe_update.pl is provided for simple file updates. + A script exe_update is provided for simple file updates. . Also, please see the test files in the source distributions t/ directory for examples of using this module. diff --git a/debian/rules b/debian/rules index 8906dbb..93e61fb 100755 --- a/debian/rules +++ b/debian/rules @@ -9,4 +9,7 @@ TMP = $(CURDIR)/debian/$(PACKAGE) override_dh_auto_install: dh_auto_install mv $(TMP)/usr/bin/exe_update.pl $(TMP)/usr/bin/exe_update + sed -i '1s|^#!/usr/local/bin/perl|#!/usr/bin/perl|' $(TMP)/usr/bin/exe_update + sed -i 's|exe_update\.pl|exe_update|g' $(TMP)/usr/bin/exe_update mv $(TMP)/usr/share/man/man1/exe_update.pl.1p $(TMP)/usr/share/man/man1/exe_update.1p + sed -i 's|exe_update\.pl|exe_update|g' $(TMP)/usr/share/man/man1/exe_update.1p -- 2.20.1