Source: grep Version: 3.11-2 Severity: important Tags: upstream patch Dear Maintainer,
Builing your package twice reveals an issue with the clean target: dpkg-source: info: local changes detected, the modified files are: source_dir/doc/grep.info dpkg-source: error: aborting due to unexpected upstream changes, see /tmp/grep_3.11-2+salsaci+20230822+19.diff.kbSnU8 The attached patch resolves the issue. Kind Regards, Bas
diff -Nru grep-3.11/debian/changelog grep-3.11/debian/changelog --- grep-3.11/debian/changelog 2023-07-21 23:33:27.000000000 +0200 +++ grep-3.11/debian/changelog 2023-08-22 19:24:15.000000000 +0200 @@ -1,3 +1,10 @@ +grep (3.11-2.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Add patch to remove generated files in clean target. + + -- Bas Couwenberg <sebas...@debian.org> Tue, 22 Aug 2023 19:24:15 +0200 + grep (3.11-2) unstable; urgency=low * Add d/patches/grep-dirfd.patch to fix gnulib bug that produces an diff -Nru grep-3.11/debian/patches/clean.patch grep-3.11/debian/patches/clean.patch --- grep-3.11/debian/patches/clean.patch 1970-01-01 01:00:00.000000000 +0100 +++ grep-3.11/debian/patches/clean.patch 2023-08-22 19:24:12.000000000 +0200 @@ -0,0 +1,14 @@ +Description: Remove generated files in clean target. +Author: Bas Couwenberg <sebas...@debian.org> + +--- a/doc/Makefile.am ++++ b/doc/Makefile.am +@@ -22,7 +22,7 @@ grep_TEXINFOS = fdl.texi + man_MANS = grep.1 + + EXTRA_DIST = grep.in.1 +-CLEANFILES = grep.1 ++CLEANFILES = grep.1 grep.info + + grep.1: grep.in.1 + $(AM_V_GEN)rm -f $@-t $@ diff -Nru grep-3.11/debian/patches/series grep-3.11/debian/patches/series --- grep-3.11/debian/patches/series 2023-07-21 22:33:01.000000000 +0200 +++ grep-3.11/debian/patches/series 2023-08-22 19:21:45.000000000 +0200 @@ -4,3 +4,4 @@ 05-grep-wrapper-sh.patch 1019724-handle-backslash-warning.patch grep-dirfd.patch +clean.patch