diff options
author | Colin Watson <cjwatson@debian.org> | 2023-08-17 01:04:27 +0100 |
---|---|---|
committer | Colin Watson <cjwatson@debian.org> | 2023-08-17 01:04:52 +0100 |
commit | 4879c7271b28934436bedf600abeaa5ec9de471f (patch) | |
tree | 0cd24f57772f9debce28837cd874655a8ab878e8 | |
parent | b3f2e30cd349a5c199b5835427d6b6a0f9af8cf8 (diff) | |
parent | ac52ee6d3e51a35ca6ffbc41a7f1a77044368a14 (diff) |
Don't remove inc directory in "make realclean"
Closes: #1049731
-rw-r--r-- | Makefile.PL | 2 | ||||
-rw-r--r-- | debian/.git-dpm | 4 | ||||
-rw-r--r-- | debian/changelog | 1 | ||||
-rw-r--r-- | debian/patches/realclean-preserve-inc.patch | 29 | ||||
-rw-r--r-- | debian/patches/series | 1 |
5 files changed, 33 insertions, 4 deletions
diff --git a/Makefile.PL b/Makefile.PL index fbe9220..898f06a 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -41,8 +41,6 @@ no_index 'directory' => 'private-lib'; enable_verbose_cpan_testing(); -realclean_files('inc'); - WriteAll; # ---- Workaround for broken module ---- diff --git a/debian/.git-dpm b/debian/.git-dpm index d299794..5b11536 100644 --- a/debian/.git-dpm +++ b/debian/.git-dpm @@ -1,6 +1,6 @@ # see git-dpm(1) from git-dpm package -72b0f0b7536547f935a475889e0b5db0a8fad075 -72b0f0b7536547f935a475889e0b5db0a8fad075 +ac52ee6d3e51a35ca6ffbc41a7f1a77044368a14 +ac52ee6d3e51a35ca6ffbc41a7f1a77044368a14 72b0f0b7536547f935a475889e0b5db0a8fad075 72b0f0b7536547f935a475889e0b5db0a8fad075 libgetargs-long-perl_1.1012.orig.tar.gz diff --git a/debian/changelog b/debian/changelog index dce050d..5a26798 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,6 +1,7 @@ libgetargs-long-perl (1.1012-6) UNRELEASED; urgency=medium * Bump debhelper from old 12 to 13. + * Don't remove inc directory in "make realclean" (closes: #1049731). -- Colin Watson <cjwatson@debian.org> Mon, 02 Jan 2023 13:54:28 -0000 diff --git a/debian/patches/realclean-preserve-inc.patch b/debian/patches/realclean-preserve-inc.patch new file mode 100644 index 0000000..2678483 --- /dev/null +++ b/debian/patches/realclean-preserve-inc.patch @@ -0,0 +1,29 @@ +From ac52ee6d3e51a35ca6ffbc41a7f1a77044368a14 Mon Sep 17 00:00:00 2001 +From: Colin Watson <cjwatson@debian.org> +Date: Thu, 17 Aug 2023 01:02:35 +0100 +Subject: Don't remove inc directory in "make realclean" + +This is part of the source package, so cleaning it means that a second +consecutive build in the same tree fails. + +Bug-Debian: https://bugs.debian.org/1049731 +Last-Update: 2023-08-17 + +Patch-Name: realclean-preserve-inc.patch +--- + Makefile.PL | 2 -- + 1 file changed, 2 deletions(-) + +diff --git a/Makefile.PL b/Makefile.PL +index fbe9220..898f06a 100644 +--- a/Makefile.PL ++++ b/Makefile.PL +@@ -41,8 +41,6 @@ no_index 'directory' => 'private-lib'; + + enable_verbose_cpan_testing(); + +-realclean_files('inc'); +- + WriteAll; + + # ---- Workaround for broken module ---- diff --git a/debian/patches/series b/debian/patches/series new file mode 100644 index 0000000..2b4647c --- /dev/null +++ b/debian/patches/series @@ -0,0 +1 @@ +realclean-preserve-inc.patch |