Le dimanche 21 septembre 2008 à 07:17 +0300, Axel Thimm a écrit :
For today you need to either conditionalize the specfile, maintain
separate specfiles or create dummy wrapper packages for compatibility
(say you need foo-devel or foo-dev, just depend on say the former and
on suse create a wrapper foo-devel that just depends on foo-dev or the
other way around if you prefer the suse style).
It's usually fairly easy to workaround distro package naming differences
without complex conditionnals by using file dependencies. (Some people
will try to remove them just because some tools may be slower processing
file deps. Well, duh, it's an old rpm feature, it works on every distro,
it's simple — conditionnals and other complex workarounds are just not
worth it IMHO. KISS)
--
Nicolas Mailhot