[Pkg-clamav-devel] redo debian/rules with less dh for clamav

Sebastian Andrzej Siewior sebastian at breakpoint.cc
Thu Mar 20 19:21:59 UTC 2014


On 2014-03-20 13:51:03 [+0100], Andreas Cadhalpun wrote:
> Hi,
Hi,

> >>needed, e.g. for reverse dependencies?
> 
> I removed the .la file now.

Okay. Let test if something breaks.

> >>I don't know, what you intend with pkgdatadir.
> 
> I removed the pkgdatadir, as it seems to have no effect.

It has. The last time I looked it sets the default directory where the
rules are saved which lands only in config file. There is a configure
option for that.

> >>And why is '.PHONY: override_dh_strip' necessary?
> >
> >https://wiki.debian.org/DebugPackage says so.
> 
> Interesting... but unfortunately that page doesn't give an explanation.
> It's probably correct to have it, but I would like to know why.

That is actually a good one.

> >>Since you rewrote the debian/rules, I think the copyright for 'Sample
> >>debian/rules' could/should be removed.
> >Okay.
> 
> Thus I removed that copyright notice.

Okay.

> >>  * override_dh_installchangelogs: Install the upstream changelog
> >
> >So you install upstream changelog file in every package. Wouldn't one
> >copy be enough?
> 
> Maybe, but the Debian changelog is also installed in every package.
> (Besides, if the ChangeLog had a more widely used name (changelog),
> dh_installchangelog would install it automatically.)
Okay, so we keep it.

> >>  * Create static debian/clean instead of creating it in every build
> >>    (because it doesn't get removed by debian/clean).
> >makes sense .)
> 
> The templates shouldn't always get cleaned, so I removed them from the clean
> file again.

Why not?

> >>  * Make the bug script executable.
> >
> >I could swear that this happend somehow in the background.
> 
> It didn't happen, when I built the package.

Interresting. Okay.

> >>I think the result is now quite equivalent to the old rules file.
> >
> >boah. That makes my todo  list a little smaller. Thanks.
> 
> Is there still something todo for the new debian/rules?

Basically you are too fast for me now :) So let me look at the latest
thing we have now, test is somehow and then I get back to you.

> 
> Best regards,
> Andreas

Sebastian



More information about the Pkg-clamav-devel mailing list