On 14.03.2012 09:18, Sergey B Kirpichev wrote:
What if I change debian/rules to reinvent the wheel: patching with sedwould be ok for release team? Direct modification of the upstream tarball seems to be overkill for this task. Then, it's better to keep things as is. I don't want to convert the package for stable to unmaintanable mess.
I wasn't suggesting modifying the upstream tarball.What I was suggesting was: start from an unpacked copy of the source package (e.g. after "dpkg-source -x"); modify the affected source files; rebuild the package. The changes will end up in the .diff.gz.
As an example, see http://release.debian.org/proposed-updates/stable_diffs/pyspf_2.0.5-2+squeeze1.debdiff , which is the result of comparing two versions of the package where the new version was created by modifying the source files.
Regards, Adam