On Jan 13, 2008, at 6:27 PM, Koen van der Drift wrote:


On Jan 13, 2008, at 6:15 PM, Jean-François Mertens wrote:

But as coded e.g. in octave.info it does pass validation with fink (>= 0.27.99)

Just figured out that it only works when there are no trailing spaces before the exclamation mark. So we should not use indentation in a multiple line shlibs field.

Aha! Yes, you're right. The offending regex in Validation.pm is /^\! \s*(.*?)\s*$/ so it should probably be /^\s*\!\s*(.*?)\s*$/ instead.

But why does it work in octave which only BuildDepends on fink >= 0.27.9, instead of fink >= 0.27.99. Since now I get the following error:

Error: private-library entry in Shlibs requires declaring a BuildDepends on fink (>= 0.27.99) or higher.

It only works if you change it to 0.27.99 or later, but since no such version has been released you can't actually use it in a public info file.

Daniel

Attachment: smime.p7s
Description: S/MIME cryptographic signature

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.devel

Reply via email to