From: Max H. <ma...@qu...> - 2010-10-01 10:57:51
|
Am 29.09.2010 um 14:16 schrieb Hanspeter Niederstrasser: > On 9/29/10 4:19 AM, Peter Dyballa wrote: >> >> Am 29.09.2010 um 02:11 schrieb Hanspeter Niederstrasser: >> >>> "The package name. May contain lowercase letters, numbers and the >>> special characters '.', '+' and '-'. No underscores ('_'), no >>> capital letters. Required field." >> >> How can I make Fink recognise the file libotf-0.9.12RC.tar.gz as the >> source archive? > > I'm assuming you must be using %v or %r in the Source field. If so, > then just replace it with the literal 'RC' instead. By the way, > according to dpkg, 0.9.12rc is greater than 0.9.12, so when the final > version is released, users won't be able to upgrade because Fink/dpkg > will think they're at a never version. Possible workarounds are to use > 0.9.12release, or to put "rc" into the revision field, so it'll look > like %v=0.9.12 %r=1.rc.1 and then bump %r to > 1 for the release version. > > See 'man dpkg' and look for "--compare-versions". <daydream>And if we ever upgrade to a recent version of dpkg & apt and stuff, we could use the solution Debian implemented for this years ago, namely the tilde syntax: 0.9.12~rc comes before 0.9.12. It's easy to implement this in fink (I have a patch for that), but dpkg & apt also need to learn about it, and when I realized that I gave up work on this :/.</daydream> Cheers, Max |