[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#594322: [Foo2zjs-maintainer] Bug#594322: foo2zjs: Please upgrade to more recent version for Squeeze.



Le Thursday 24 February 2011 13:12:13 Till Kamppeter, vous avez écrit :
> OK. Then take the Apport hook into the Debian package and we keep
> foo2zjs identical on Debian and Ubuntu.
> 
>     Till

If this is done (and I think it's desirable for Ubuntu), please do it in a
Distribution-dependent way, see e.g. the foomatic-filters debian/rules:

> derives_from_ubuntu := $(shell (dpkg-vendor --derives-from Ubuntu && echo "yes") || echo "no")
> 
> (…)
> override_dh_install:
>         dh_install
> ifeq ($(derives_from_ubuntu),yes)
>         install -D -m 644 debian/ubuntu/apport-hook.py $(CURDIR)/debian/foomatic-filters/usr/share/apport/package-hooks/source_foomatic-filters.py
> endif

This way you have one source package, but the binary package gets different
contents depending on the distribution.

Cheers, 

OdyX

-- 
Didier Raboud, proud Debian Developer.
CH-1020 Renens
odyx@debian.org

Attachment: signature.asc
Description: This is a digitally signed message part.


Reply to: