Bug#903982: Patch for #903982

Andrius Merkys andrius.merkys at gmail.com
Tue Feb 26 07:01:45 GMT 2019


control: tags 903982 + patch

Hello,

please find attached a patch to fix this issue. An alternative
suggestion would be to repack the source to exclude XQLParser/Parser.pm.

Best,
Andrius

-- 
Andrius Merkys
Vilnius University Institute of Biotechnology, SaulÄ—tekio al. 7, room V325
LT-10257 Vilnius, Lithuania

-------------- next part --------------
diff -Nru libxml-xql-perl-0.68/debian/changelog libxml-xql-perl-0.68/debian/changelog
--- libxml-xql-perl-0.68/debian/changelog	2018-07-18 11:18:52.000000000 -0400
+++ libxml-xql-perl-0.68/debian/changelog	2019-02-26 01:48:47.000000000 -0500
@@ -3,8 +3,9 @@
   * debian/copyright: updating format specification.
   * debian/copyright: updating the format.
   * Bumping compat level to 11.
+  * debian/rules: force-regenerating XML::XQL::Parser (Closes: #903982)
 
- -- Andrius Merkys <andrius.merkys at gmail.com>  Wed, 18 Jul 2018 17:18:52 +0200
+ -- Andrius Merkys <andrius.merkys at gmail.com>  Tue, 26 Feb 2019 01:48:47 -0500
 
 libxml-xql-perl (0.68-7) unstable; urgency=medium
 
diff -Nru libxml-xql-perl-0.68/debian/rules libxml-xql-perl-0.68/debian/rules
--- libxml-xql-perl-0.68/debian/rules	2018-07-18 11:18:52.000000000 -0400
+++ libxml-xql-perl-0.68/debian/rules	2019-02-26 01:47:24.000000000 -0500
@@ -6,6 +6,10 @@
 %:
 	dh $@
 
+override_dh_auto_build:
+	mv XQLParser/Parser.pm debian
+	dh_auto_build
+
 override_dh_auto_install:
 	dh_auto_install
 	$(RM) -r $(CURDIR)/debian/libxml-xql-perl/usr/bin
@@ -13,3 +17,7 @@
 override_dh_installexamples:
 	dh_installexamples
 	sed -i '1s|^#!.*perl.*$$|#!/usr/bin/perl -w|' $(TMP)/usr/share/doc/$(PACKAGE)/examples/*
+
+override_dh_auto_clean:
+	dh_auto_clean
+	-test -e debian/Parser.pm && mv debian/Parser.pm XQLParser


More information about the pkg-perl-maintainers mailing list