A somewhat weird library dependency case

Konstantin Ryabitsev icon at fedoraproject.org
Sun Jan 15 23:05:50 UTC 2006


I have a somewhat bizarre dependency question.

Preambule:
python-ctypes (currently under review) allows python programs to 
directly interact with low-level libraries without having to provide 
bindings. This is pretty neat. Not sure how sane, but pretty neat.

Problem:
python-tidy uses python-ctypes to interact with libtidy. I'm pretty 
sure that python-tidy still requires the libtidy API to remain the 
same, so ultimately it still requires libtidy-0.99.so.0. If it 
didn't use python-ctypes and linked directly to libtidy, RPM would 
have automatically pulled in a dependency on libtidy-0.99.so.0

Question:
Should I do:
Requires: libtidy (wrong, since it still needs a specific version)
Requires: libtidy = 0.99 (works, but 0.99.1 ought to still be valid)
Requires: libtidy-0.99.so.0 (best, but ugliest)

What does esteemed public think?

Regards,
-- 
Konstantin Ryabitsev
McGill University WSG
Montréal, Québec




More information about the fedora-extras-list mailing list