Logical 'or' for package dependencies
jpyeron at pdinc.us
Thu Oct 21 12:48:37 UTC 2010
> -----Original Message-----
> From: rpm-list-bounces at lists.rpm.org
> [mailto:rpm-list-bounces at lists.rpm.org] On Behalf Of
> rarob at travelinglightfarm.net
> Sent: Thursday, October 21, 2010 8:34
> To: rpm-list at lists.rpm.org
> Subject: RE: Logical 'or' for package dependencies
> Sorry to reply out of sync, I'm only on digest email...
> To followup a bit on my question about RPM and Java dependencies....
> Currently our product requires a Java 1.6 runtime package to
> be installed.
> We've tested with SUN/Oracle Java, OpenJDK, and IBM's s390x
> package on Linux VMs on zSeries. While I believe I can find
> a common 'provides'
> feature between OpenJDK and SUN/Oracle, the s390x *sdk*
> (which we use to require, and is still installed on our dev
> box) only has 2 'features' when queried with 'rpm -q --provides':
> ibm-java-s390-sdk = 6.0.-5.0
Create a second (IBM Java compatibility, having no files) rpm, which provides
Java with version which requires ibm-java-s390-sdk with version.
rpm -ivh my.rpm ibm-jdk-compat.rpm
> So I still have a question as to the best way to have my
> rpm correctly do a 'Requires:' line for any of the three Java
> flavors. Somehow I doubt I can convince the IBM group to
> include some more features on their packaging. For now we
> mention in our documentation that we
> *require* a Java package of at least version 1.6, and our
> configuration script looks in 'well known' locations for it.
Yea, that is a bad idea.
> Not ideal.
> Rpm-list mailing list
> Rpm-list at lists.rpm.org
- Jason Pyeron PD Inc. http://www.pdinc.us -
- Principal Consultant 10 West 24th Street #100 -
- +1 (443) 269-1555 x333 Baltimore, Maryland 21218 -
This message is copyright PD Inc, subject to license 20080407P00.
More information about the Rpm-list