RE: Logical 'or' for package dependencies

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> -----Original Message-----
> From: rpm-list-bounces@xxxxxxxxxxxxx 
> [mailto:rpm-list-bounces@xxxxxxxxxxxxx] On Behalf Of 
> rarob@xxxxxxxxxxxxxxxxxxxxxx
> Sent: Thursday, October 21, 2010 8:34
> To: rpm-list@xxxxxxxxxxxxx
> 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':
>   libjvm.so
>   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.
> 
> -R
> 
> 
> _______________________________________________
> Rpm-list mailing list
> Rpm-list@xxxxxxxxxxxxx
> http://lists.rpm.org/mailman/listinfo/rpm-list
> 




--
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
-                                                               -
- 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.

 


_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxxxxx
http://lists.rpm.org/mailman/listinfo/rpm-list


[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux