On Thu, 25 Mar 2010, Marcus Rueckert wrote:
On 2010-03-25 15:33:50 +0100, Petr Gajdos wrote:
The last pair of packages form libpng12-compat-devel and libpng14-compat-devel containing the common files, like /usr/bin/libpng-config, /usr/include/png.h, etc. symlinks and man-pages (maybe we should have -doc package here?). These packages will require libpng12-devel and libpng14-devel respectively. BOTH will obsolete and provide libpng-devel symbol and BOTH will conflict with otherproviders(libpng-devel).
update-alternatives might be worth a look here. then the main devel packages could be installed in parallel and you wouldnt need the additional packages.
The easier solution is to not allow parallel installation of the devel packages. Either by dropping the older devel package completely (and thus only having one libpng-devel package in the repo for the newest libpng) or by adding proper conflicts (I'd really like to be able to do Provides: libpng-devel Conflicts: libpng-devel, but that doesn't work ...). All the non-standard (read: non-upstream) symlinking doesn't sound appealing to me. Richard. -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org