Package: fpc
Version: 2.2.2-5
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 2.2.2-5) to accomplish this.
Note: removing ALL Makefiles result in a FTBFS because the Makefiles in
the install dir (two in total) are NOT generated. That is why I did the
find on the different directories.


-- 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 fpc depends on:
ii  dpkg                      1.14.20ubuntu6 Debian package management
system
ii  fp-compiler               2.2.2-4ubuntu1 Free Pascal - Compiler
ii  fp-ide                    2.2.2-4ubuntu1 Free Pascal - IDE
ii  fp-units-base             2.2.2-4ubuntu1 Free Pascal - base units
ii  fp-units-db               2.2.2-4ubuntu1 Free Pascal - database
libraries u
ii  fp-units-fcl              2.2.2-4ubuntu1 Free Pascal - Free
Component Libra
ii  fp-units-fv               2.2.2-4ubuntu1 Free Pascal - Free Vision units
ii  fp-units-gfx              2.2.2-4ubuntu1 Free Pascal - graphics
libraries u
ii  fp-units-gnome1           2.2.2-4ubuntu1 Free Pascal - GNOME 1 units
ii  fp-units-gtk              2.2.2-4ubuntu1 Free Pascal - GTK+ 1.2 units
ii  fp-units-gtk2             2.2.2-4ubuntu1 Free Pascal - GTK+ 2.x units
ii  fp-units-misc             2.2.2-4ubuntu1 Free Pascal - miscellaneous
units
ii  fp-units-multimedia       2.2.2-4ubuntu1 Free Pascal - miscellaneous
units
ii  fp-units-net              2.2.2-4ubuntu1 Free Pascal - networking units
ii  fp-units-rtl              2.2.2-4ubuntu1 Free Pascal - Runtime Library

Versions of packages fpc recommends:
ii  fp-utils                  2.2.2-4ubuntu1 Free Pascal - Utils

-- no debconf information

--- fpc-2.2.2.orig/debian/rules	2008-12-06 15:45:44.000000000 -0600
+++ fpc-2.2.2/debian/rules	2008-12-06 14:02:27.000000000 -0600
@@ -97,6 +97,8 @@
 	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 debian/fpc-depends.1
+	rm -rf Makefile .pc
+	find fpcsrc demo fpcdocs -name Makefile -exec rm -f '{}' ';'
 	dh_clean
 clean-patched:
 	@echo "--- Cleaning"

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to