Comment 9 for bug 524148

Revision history for this message
Emmet Hikory (persia) wrote :

It is necessarily the case that the debian/rules patch should be removed if there is intentional hardcoding against specific versions of the libraries, because the patch will destroy the information provided in the upstream files, and set them to be the current system libraries, which is potentially wrong. It will also break policy because the unpatching in clean: won't restore the pristine source.

If the specific libraries are hardcoded in the source, the specific dependencies should be hardcoded in debian/control, and a note to that effect added to debian/README.source so that future maintainers know to check and adjust if updating.