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

dmn pushed a commit to branch fcntl-any
in repository libfile-fcntllock-perl.

commit a541fc41c7db84a728978314b5b69f2f25485bb8
Author: Damyan Ivanov <d...@debian.org>
Date:   Wed Oct 25 21:11:39 2017 +0000

    put symlinks to ::Any, ::Pure and ::Inline in vendorlib (arch-indep)
    
    this makes the three available during major perl upgrades
---
 debian/rules | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)

diff --git a/debian/rules b/debian/rules
index 2d33f6a..0efb77b 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,4 +1,20 @@
 #!/usr/bin/make -f
 
+TRIPLET:=$(shell dpkg-architecture -q DEB_BUILD_MULTIARCH)
+VENDOR_ARCH:=$(shell perl -MConfig -E'say $$Config{vendorarch}')
+VENDOR_LIB :=$(shell perl -MConfig -E'say $$Config{vendorlib}')
+
 %:
        dh $@
+
+override_dh_install:
+       dh_link \
+           $(VENDOR_ARCH)/File/FcntlLock/Pure.pm \
+           /usr/lib/$(TRIPLET)/libfile-fcntllock-perl/File/FcntlLock/Pure.pm
+       dh_link \
+           $(VENDOR_ARCH)/File/FcntlLock/Inline.pm \
+           /usr/lib/$(TRIPLET)/libfile-fcntllock-perl/File/FcntlLock/Inline.pm
+       dh_link \
+           $(VENDOR_ARCH)/File/FcntlLock/Any.pm \
+           $(VENDOR_LIB)/File/FcntlLock/Any.pm
+       dh_install

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-perl/packages/libfile-fcntllock-perl.git

_______________________________________________
Pkg-perl-cvs-commits mailing list
Pkg-perl-cvs-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits

Reply via email to