summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--debian/control2
-rwxr-xr-xdebian/rules1
2 files changed, 2 insertions, 1 deletions
diff --git a/debian/control b/debian/control
index 4cab49e..4250c00 100644
--- a/debian/control
+++ b/debian/control
@@ -14,7 +14,7 @@ Standards-Version: 4.6.0
Vcs-Browser: https://salsa.debian.org/perl-team/modules/packages/libcommon-sense-perl
Vcs-Git: https://salsa.debian.org/perl-team/modules/packages/libcommon-sense-perl.git
Homepage: https://metacpan.org/release/common-sense
-Rules-Requires-Root: binary-targets
+Rules-Requires-Root: no
Package: libcommon-sense-perl
Architecture: any
diff --git a/debian/rules b/debian/rules
index 9cd8bd0..9648572 100755
--- a/debian/rules
+++ b/debian/rules
@@ -17,6 +17,7 @@ ARCHLIB := $(shell perl -I/usr/lib/$(DEB_HOST_MULTIARCH)/perl/cross-config-
override_dh_auto_install:
dh_auto_install
+ chmod 0644 $(TMP)/usr/share/man/man3/common::sense.3pm
pod2man --name "common::sense" --utf8 --section 3pm \
$(TMP)$(ARCHLIB)/common/sense.pod > \
$(TMP)/usr/share/man/man3/common::sense.3pm