On 21/09/15 16:49, Dirk Eddelbuettel wrote: > Is the following good enough? > > Depends: ${shlibs:Depends}, ${misc:Depends} > Breaks: libquantlib-1.1, libquantlib-1.0.0 > Replaces: libquantlib-1.2, libquantlib-1.1, libquantlib-1.0.0, libquantlib0 > Conflicts: libquantlib0 > Provides: libquantlib-1.2, libquantlib-1.1, libquantlib-1.0.0
Looks reasonable. > The wiki is very vague and unhelpful. There must a package I can learn > from. Can you recommend one? dcmtk is a fairly typical example: <https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=791022#10> The steps I've been following are something like this: * "git grep libquantlib0", replace with libquantlib0v5 (or use ack-grep or plain grep) * "ls debian/libquantlib0.*", rename them suitably * add Conflicts/Replaces * check debian/rules to see whether anything relies on the library name If the contents of the resulting .debs look sane (shared library, static library, headers, debug symbols all present), they're installable, and the rdeps build successfully, then you've probably done it right. S