summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgregor herrmann <gregoa@debian.org>2022-11-24 20:33:35 +0000
committergregor herrmann <gregoa@debian.org>2022-11-24 20:33:35 +0000
commita5463df8151eb125b15db832f3e048cb47ca1082 (patch)
tree138b7c23dfa0d1239dc5c61ced4ba8470c5f743c
parent0b370463fc1e051053a5825d4dc00bc20183d75d (diff)
parent9cea01046c345e9e26803c0e924192bff892ea05 (diff)
Merge branch 'rootless-libcommon-sense-perl' into 'master'
Have libcommon-sense-perl build without (fake)root See merge request perl-team/modules/packages/libcommon-sense-perl!1
-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