On Tue, Jun 17, 2003 at 07:03:50PM -0400, Dan Brown <[EMAIL PROTECTED]> wrote: > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > > From: Michiel Blotwijk [mailto:[EMAIL PROTECTED] > > > I'm trying to build an rpm that checks at installation time which > > SME version it's running on. I've put the following code in my > > SPECS file > > How about just > > Requires: SMEServer >= 5.5
Yep - much better to let RPM determine the requirements. It _usually_ gets them right. FYI, you can't do this: Requires: SMEServer >= 5.5 Requires: SMEServer <= 5.6 but you can do: Requires: SMEServer >= 5.5 Conflicts: SMEServer > 5.6 However, only do this if you know that it does in fact conflict. Gordon -- Gordon Rowell [EMAIL PROTECTED] Director, Engineering Mitel Networks Corporation http://www.mitel.com/ -- Please report bugs to [EMAIL PROTECTED] Please mail [EMAIL PROTECTED] (only) to discuss security issues Support for registered customers and partners to [EMAIL PROTECTED] To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Searchable archive at http://www.mail-archive.com/devinfo%40lists.e-smith.org