Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-5078410

Add the Provides: j2re = %{epoch}:%{version}

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • 1.4.2
    • install
    • x86
    • solaris_2.5.1



      Name: rmT116609 Date: 07/26/2004


      A DESCRIPTION OF THE REQUEST :
      Linux RPM package of j2sdk includes all of j2re files. So j2sdk should be build j2sdk RPM package with the following header statement in the j2sdk.spec(?) file.

        Provides: j2re = %{epoch}:%{version}

      and make static link from j2re1.4.2_05 to j2sdk1.4.2_05.

      JUSTIFICATION :
      When a certain RPM package (foo-x.y.z-r) requires only some of the j2re files, we want to set the require header in foo.spec file as the following.

        Requires: j2re >= 1.4.2_05-fcs

      I don't think many developers like to install both j2sdk and j2re package because all of j2re files are included in j2sdk package. So if adding Require header makes many developers happy.

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      The command
        $ rpm -q --provides j2sdk
      shows
        j2sdk = 2000:1.4.2_05-fcs
        j2re = 2000:1.4.2_05-fcs
      ACTUAL -
      The command
        $ rpm -q --provides j2sdk
      shows
        j2sdk = 2000:1.4.2_05-fcs
      (Incident Review ID: 289821)
      ======================================================================

            mromanchsunw Michael Romanchuk (Inactive)
            rmandalasunw Ranjith Mandala (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: