-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 4/28/10 9:22 AM, Jack Howarth wrote:
>   One piece of legacy coding left in the gcc4x packages
> which perplexes me is the use of...
> 
> %N-shlibs (>= %v-%r)
> 
> instead of...
> 
> %N-shlibs (= %v-%r)
> 
> for the Depends field of the main gcc4x package. Was there
> a bug in fink at some point that required the use of >=
> rather than =? I was going to change that as well but
> wanted to make certain there wasn't some obscure reason
> for that particular conditional.
>          Jack
> 
Convenience, possibly.  The bug hasn't gone away.

If the main package has Depends: %N-shlibs (= %v-%r), if a user has the
main and -shlibs installed they can't update to a new version-revision
in one step.  The build will be performed, but fink won't install the
update:  the new -shlibs has to go in first, and the old main package
will complain because of the %v-%r mismatch.  But afterwards apt-get is
perfectly happy to figure out how to do the upgrade.

I'd argue that (= %v-%r) is a safer option.
- -- 
Alexander Hansen
Fink User Liaison
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkvYO6IACgkQB8UpO3rKjQ+lugCeKNYewd0UnNr9HOHR2sULhJ43
46oAoI90OLjP13LEPT7gHH26ENmUFZG9
=n0GD
-----END PGP SIGNATURE-----

------------------------------------------------------------------------------
_______________________________________________
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to