Package: lazarus
Version: 0.9.26-2
Severity: minor
Tags: patch

Lintian warning: patch-system-but-direct-changes-in-diff
"The package uses a patch-system, but the Debian diff.gz contains
changes made on files without being separated out in a patch."

The .diff.gz file in the source building process contains a lot of
changes in generated files (all but one are Makefiles). Removing the
files in the clean rule prevents them from showing up in the .diff.gz
making the packaging easier to judge.

Attached find a simple patch (against 0.9.26-2) to accomplish this.
Note: two Makefiles are not generated and therefor excluded from the
removal.

-- System Information:
Debian Release: lenny/sid
  APT prefers intrepid-updates
  APT policy: (990, 'intrepid-updates'), (990, 'intrepid-security'), (990, 
'intrepid-proposed'), (990, 'intrepid'), (99, 'jaunty')
Architecture: i386 (i686)

Kernel: Linux 2.6.27-10-generic (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=nl_NL.UTF-8 (charmap=UTF-8) (ignored: LC_ALL 
set to en_US.UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages lazarus depends on:
ii  dpkg                      1.14.20ubuntu6 Debian package management system
ii  lazarus-doc               0.9.26-2       IDE to create (graphical and conso
ii  lazarus-ide               0.9.26-2       IDE to create (graphical and conso
ii  lazarus-src               0.9.26-2       IDE to create (graphical and conso

Versions of packages lazarus recommends:
ii  fpc                       2.2.2-4ubuntu1 Free Pascal Compiler - Meta Packag
ii  fpc-source                2.2.2-4ubuntu1 Free Pascal Compiler - Source Code

-- no debconf information
--- lazarus-0.9.26.orig/debian/rules	2008-12-06 19:41:37.000000000 -0600
+++ lazarus-0.9.26/debian/rules	2008-12-06 19:13:32.000000000 -0600
@@ -51,6 +51,8 @@
 	rm -f build-indep-stamp install-indep-stamp
 	rm -f debian-files-stamp
 	rm -f debian/files debian/docs debian/dirs debian/*.files debian/*.docs debian/*.examples debian/*.postinst debian/*.postrm
+	rm -f ide/version.inc
+	find . -name Makefile -a ! '(' -path '*tools/install/freebsd_ports/Makefile' -o -path '*install/man/Makefile' ')' -exec rm -f '{}' ';'
 	dh_clean 
 
 clean-patched:

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to